Page 1 of 2
Interpolated zooming should be disabled for very small images
Posted: Tue Apr 17, 2018 11:35 pm
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.
Re: Interpolated zooming should be disabled for very small images
Posted: Wed Apr 18, 2018 12:05 pm
by xnview
when you zoom in?
Re: Interpolated zooming should be disabled for very small images
Posted: Mon Apr 30, 2018 3:24 pm
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.
Re: Interpolated zooming should be disabled for very small images
Posted: Mon Apr 30, 2018 3:39 pm
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?
Re: Interpolated zooming should be disabled for very small images
Posted: Thu May 03, 2018 9:12 am
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:

Re: Interpolated zooming should be disabled for very small images
Posted: Thu May 03, 2018 7:54 pm
by Lee James
… Or it would be great to simply have a button to toggle interpolation on/off!

Re: Interpolated zooming should be disabled for very small images
Posted: Mon May 14, 2018 1:54 pm
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?
Re: Interpolated zooming should be disabled for very small images
Posted: Tue May 15, 2018 6:14 pm
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?
Re: Interpolated zooming should be disabled for very small images
Posted: Tue Nov 24, 2020 2:02 pm
by xnview
See
issue for current status and some details.
Re: Interpolated zooming should be disabled for very small images
Posted: Mon Dec 14, 2020 2:34 pm
by xnview
This problem is supposed to be fixed in
XnView MP 0.98.0. Please check and confirm the bug fix here.
Re: Interpolated zooming should be disabled for very small images
Posted: Sun Dec 20, 2020 10:33 am
by Octopuss
Where is the new option then? I can't find it.
Re: Interpolated zooming should be disabled for very small images
Posted: Mon Dec 21, 2020 7:52 am
by xnview
you can add a 'cmd_useSmooth' button in your toolbar
Re: Interpolated zooming should be disabled for very small images
Posted: Mon Feb 15, 2021 9:44 pm
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?
Re: Interpolated zooming should be disabled for very small images
Posted: Sun Jan 02, 2022 4:16 am
by Juni
Hey Pierre,
It would appear that the cmd_useSmooth option/button does not work

I've attached a small video with a pixel-art asset to show you what I mean.
P.S. - using the latest XnView MP version 0.99.6
Re: Interpolated zooming should be disabled for very small images
Posted: Wed Jan 05, 2022 9:06 am
by xnview
Juni wrote: Sun Jan 02, 2022 4:16 am
It would appear that the cmd_useSmooth option/button does not work

I've attached a small video with a pixel-art asset to show you what I mean.
P.S. - using the latest XnView MP version 0.99.6
Currently cmd_useSmooth works in 'zoom out' and not 'zoom in', so perhaps activate it for 'zoom in' too?