Display image only when complete

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, helmut, xnview

Pantek
Posts: 4
Joined: Thu Sep 19, 2024 10:39 am

Display image only when complete

Post by Pantek »

I have asked the question, how to fix it - no one replied. So maybe it is a correct behavior and I should make a suggestion to correct it.

XnView MP shows me every step of its' work.

To reproduce:
1. Set "Fit Image to Desktop"
2. Open small image (400x300 for example)
3. Close it.
4. Open large image (4000x3000 for example)

Now watch how XnView MP draws a small window, then draws small image, then make it suggested size. XnView Classic displays suggested size image instantly.
Tried "Reset Auto zoom", tried disable "Two-pass rendering", other settings. No help.
Please, make the same behavior in XnView MP.

Here is a video
XnView Classic vs MP.mp4
Don't you agree that Classic makes it more smooth? Maybe slower a bit (need to test), but smooth and beautiful.
So it would be nice if MP would behave as Classic when opening images. Maybe let XnView MP make its work in background and only then display the result. Thank you.
You do not have the required permissions to view the files attached to this post.
User avatar
user0
XnThusiast
Posts: 1851
Joined: Sat May 09, 2015 9:37 am

Re: Display image only when complete

Post by user0 »

User avatar
XnTriq
Moderator & Librarian
Posts: 6368
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Display image only when complete

Post by XnTriq »

Could the progressive loading of JPEGs be (part of) the problem?
xnview wrote: Mon Sep 12, 2011 3:20 pmOh so you don't want the low resolution??

Please change in the .ini

Code: Select all

[Viewer]
prevSize=@Size(0 0)

Possibly related:
User avatar
user0
XnThusiast
Posts: 1851
Joined: Sat May 09, 2015 9:37 am

Re: Display image only when complete

Post by user0 »

it looks like OP's issue is caused by app
1. memorizing the last window size and
2. using it before checking the size of the current image
3. once right size is calculated - app resizes its window due to "Fit Image to Desktop" setting

Code: Select all

[Start]
geom=@ByteArray(..)