Page 1 of 1

Display image only when complete

Posted: Tue Sep 24, 2024 10:36 pm
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
(1.22 MiB) Downloaded 121 times
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.

Re: Display image only when complete

Posted: Wed Sep 25, 2024 5:19 am
by user0

Re: Display image only when complete

Posted: Wed Sep 25, 2024 11:15 pm
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:

Re: Display image only when complete

Posted: Fri Sep 27, 2024 10:20 am
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(..)