Option to turn off two-pass rendering

Reported bugs that have been closed and/or resolved

Moderators: XnTriq, helmut, xnview, Dreamer

Post Reply
Biscuit
Posts: 33
Joined: Mon May 04, 2015 12:22 pm

Option to turn off two-pass rendering

Post by Biscuit »

When comparing images is it extremely important that we can switch from one to the other immediately with nothing happening between the preview refreshes.
Currently XnViewMP forces two-pass rendering so when I switch from one image to the next, the preview changes to some low-resolution preview without color correction, and then a short time later changes again to the real preview.
Please add an option to disable this two-pass rendering, and keep the old preview in cache until the new preview is ready to be shown, then replace the image.
Version 0.72 x64 (Dec 19 2014)
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Option to turn off two-pass rendering

Post by xnview »

you can edit previewSize in [Viewer] section of xnview.ini

Code: Select all

previewSize=@Size(0 0)
Pierre.
Biscuit
Posts: 33
Joined: Mon May 04, 2015 12:22 pm

Re: Option to turn off two-pass rendering

Post by Biscuit »

Thank you for the reply.
My [Viewer] section has this option already:
prevSize=@Size(160 120)
Is prevSize what you meant? I set it to 0 0 and that seems to work.

Either way, it should be possible to do this via the UI with a simple checkbox.
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Option to turn off two-pass rendering

Post by xnview »

yes prevSize
Pierre.
Biscuit
Posts: 33
Joined: Mon May 04, 2015 12:22 pm

Re: Option to turn off two-pass rendering

Post by Biscuit »

Is adding such an option to the UI on your TODO list?
CaspianRoach
Posts: 29
Joined: Sat Feb 08, 2020 1:35 pm

Re: Option to turn off two-pass rendering

Post by CaspianRoach »

xnview wrote: Mon May 04, 2015 1:17 pm you can edit previewSize in [Viewer] section of xnview.ini

Code: Select all

previewSize=@Size(0 0)
This is excellent, just what I wanted. Thank you for reaching out to me via e-mail to tell me about this. Is adding this to the GUI settings an option at this time? Editing the .ini solved it for me, but there are probably other people who would want to change this functionality.
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Option to turn off two-pass rendering

Post by xnview »

Option will be added
Pierre.
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Option to turn off two-pass rendering

Post by xnview »

This problem is supposed to be fixed in XnView MP 0.99.0. Please check and confirm the bug fix here.
Pierre.
CaspianRoach
Posts: 29
Joined: Sat Feb 08, 2020 1:35 pm

Re: Option to turn off two-pass rendering

Post by CaspianRoach »

Tested the feature out, Settings->View->Misc.->Two-pass rendering at loading seems to work identical to manually changing prevSize in the .ini file, meaning all works well, thank you!

However, I think the wording of an option is a little bit vague. If you can add help text on hover, something like "Load and display a thumbnail version of the picture before the original size is fully loaded" or something of the sort would probably help a few people understand what the feature is for.
cday
XnThusiast
Posts: 3973
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Option to turn off two-pass rendering

Post by cday »

CaspianRoach wrote: Thu Sep 16, 2021 12:46 pm Tested the feature out, Settings->View->Misc.->Two-pass rendering at loading seems to work identical to manually changing prevSize in the .ini file, meaning all works well, thank you!

However, I think the wording of an option is a little bit vague. If you can add help text on hover, something like "Load and display a thumbnail version of the picture before the original size is fully loaded" or something of the sort would probably help a few people understand what the feature is for.
'Display thumbnail while loading' :?:
CaspianRoach
Posts: 29
Joined: Sat Feb 08, 2020 1:35 pm

Re: Option to turn off two-pass rendering

Post by CaspianRoach »

cday wrote: Thu Sep 16, 2021 1:13 pm 'Display thumbnail while loading' :?:
That sounds simple and concise.
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Option to turn off two-pass rendering

Post by xnview »

it's not a thumbnail but a preview :)
Pierre.
Post Reply