Interpolated zooming should be disabled for very small images

Older bugs which are supposed to be fixed in 0.84. *** Please try to reproduce your bug and confirm the bug fix. ***

Moderator: Dreamer

Post Reply
Lee James
Posts: 69
Joined: Sun May 25, 2014 12:47 pm

Interpolated zooming should be disabled for very small images

Post by Lee James »

Interpolated zooming is a great feature, making everything look nice and smooth.

But for small images it's annoying. Images such as pixel art, icons, thumbnails, etc. All the pixels blur together and you can't see the image clearly.

I would like to suggest that interpolation is disabled for images below a threshold of (say) 500 pixels wide. It would also be good to have an option to customise this threshold, though that is less important.
User avatar
xnview
Author of XnView
Posts: 34672
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Interpolated zooming should be disabled for very small images

Post by xnview »

when you zoom in?
Pierre.
Lee James
Posts: 69
Joined: Sun May 25, 2014 12:47 pm

Re: Interpolated zooming should be disabled for very small images

Post by Lee James »

xnview wrote: Wed Apr 18, 2018 12:05 pmwhen you zoom in?
Yes, I have "fit image to window" enabled, so small images always open zoomed in.
cday
XnThusiast
Posts: 2706
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Interpolated zooming should be disabled for very small images

Post by cday »

Lee James wrote: Mon Apr 30, 2018 3:24 pm
xnview wrote: Wed Apr 18, 2018 12:05 pmwhen you zoom in?
Yes, I have "fit image to window" enabled, so small images always open zoomed in.
There is an option Tools > Settings... > View -- View tab : High zoom quality which may be what you need?
Lee James
Posts: 69
Joined: Sun May 25, 2014 12:47 pm

Re: Interpolated zooming should be disabled for very small images

Post by Lee James »

cday wrote: Mon Apr 30, 2018 3:39 pm There is an option Tools > Settings... > View -- View tab : High zoom quality which may be what you need?
Setting this to "Zoom out" does prevent small images from being interpolated - but it also stops ALL medium resolution images from being interpolated! The problem is even worse for me because my monitor is 2560 x 1440, which means that most photos get zoomed in.

I want all images to be interpolated except small images (less than 500 pixels).

Could you please add an option like this:

Image
Lee James
Posts: 69
Joined: Sun May 25, 2014 12:47 pm

Re: Interpolated zooming should be disabled for very small images

Post by Lee James »

… Or it would be great to simply have a button to toggle interpolation on/off! :)
User avatar
xnview
Author of XnView
Posts: 34672
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Interpolated zooming should be disabled for very small images

Post by xnview »

Lee James wrote: Thu May 03, 2018 7:54 pm … Or it would be great to simply have a button to toggle interpolation on/off! :)
in view mode?
Pierre.
Lee James
Posts: 69
Joined: Sun May 25, 2014 12:47 pm

Re: Interpolated zooming should be disabled for very small images

Post by Lee James »

xnview wrote: Mon May 14, 2018 1:54 pm
Lee James wrote: Thu May 03, 2018 7:54 pm … Or it would be great to simply have a button to toggle interpolation on/off! :)
in view mode?
Yes please, if possible! :) Ideally a key that could be pressed, but a I suppose an option in the menu may be useful so that people know they can do it?
User avatar
xnview
Author of XnView
Posts: 34672
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Interpolated zooming should be disabled for very small images

Post by xnview »

See issue for current status and some details.
Pierre.
User avatar
xnview
Author of XnView
Posts: 34672
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Interpolated zooming should be disabled for very small images

Post by xnview »

This problem is supposed to be fixed in XnView MP 0.98.0. Please check and confirm the bug fix here.
Pierre.
Octopuss
Posts: 61
Joined: Thu Mar 17, 2016 1:17 pm

Re: Interpolated zooming should be disabled for very small images

Post by Octopuss »

Where is the new option then? I can't find it.
User avatar
xnview
Author of XnView
Posts: 34672
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Interpolated zooming should be disabled for very small images

Post by xnview »

you can add a 'cmd_useSmooth' button in your toolbar
Pierre.
Lee James
Posts: 69
Joined: Sun May 25, 2014 12:47 pm

Re: Interpolated zooming should be disabled for very small images

Post by Lee James »

Hi Pierre, I've just noticed that you made this change! Thank you! :-)

Forgive me, but I can't find the 'cmd_useSmooth' button. I click "Customize Toolbar" but it's not in the list.

Also, would there be any way to assign a keyboard shortcut to it, so I can do it in Full Screen mode?
Post Reply