Interpolated zooming should be disabled for very small images

Reported bugs that have been closed and/or resolved

Moderators: XnTriq, helmut, xnview, Dreamer

Lee James
Posts: 83
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: 43326
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: 83
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: 3973
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: 83
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: 83
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: 43326
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: 83
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: 43326
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: 43326
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: 64
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: 43326
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: 83
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?
Juni
Posts: 4
Joined: Sun Jan 02, 2022 4:01 am

Re: Interpolated zooming should be disabled for very small images

Post 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
Attachments
9sYdYcgeY6.mp4
(1.73 MiB) Downloaded 45 times
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Interpolated zooming should be disabled for very small images

Post 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?
Pierre.
Post Reply