"High quality Zoom-out" lanczos-spline-bicubic filters don't work

Reported bugs that have been closed and/or resolved

Moderators: XnTriq, helmut, xnview, Dreamer

xmozg
Posts: 58
Joined: Fri Sep 24, 2021 3:31 pm

"High quality Zoom-out" lanczos-spline-bicubic filters don't work

Post by xmozg »

XnView: Version 0.99.1 64bits (Sep 23 2021) - thanks for new version with speed improvement.
OS: Windows 10 64bit

Bug: "High quality zoom-out" (image reduction) settings (settings -> view -> high quality zoom-out) for filters called lanczos, spline and bicubic don't work.

They all look like billinear. Only "High quality zoom-in" (image enlarge) works as expected.

This bug doesn't exist in Version 0.98.2 64bits (Feb 19 2021), before "2043: [New] Zoom out filter (Bicubic, Spline, Lanczos)" was introduced.

For some reason, Version 0.98.2 has "1958: [New] Zoom-in filter (Bicubic, Spline, Lanczos)" feature, but actually this feature is zoom-out (reduction).
Version 0.99.1 has "2043: [New] Zoom out filter (Bicubic, Spline, Lanczos)" feature, but actually this feature is zoom-in (enlarge).


Image compare lanczos4 algorithm for "zoom-out" at 99% level. Look only at 100% in image viewer. Version 0.99.1 at the right is blurry.
1xnview.png
2xnview.jpg

Test images from:
http://www.falklumo.com/lumolabs/articles/sharpness/
User avatar
xnview
Author of XnView
Posts: 43444
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: "High quality Zoom-out" lanczos-spline-bicubic filters don't work

Post by xnview »

"High quality zoom-out" use always bilinear, the setting is for High quality zoom-in
Pierre.
xmozg
Posts: 58
Joined: Fri Sep 24, 2021 3:31 pm

Re: "High quality Zoom-out" lanczos-spline-bicubic filters don't work

Post by xmozg »

xnview wrote: Sat Sep 25, 2021 6:33 am "High quality zoom-out" use always bilinear, the setting is for High quality zoom-in
That's what I'm talking about. Just need to fix this bug, which in Xnview 0.98.2 was not and "High quality zoom-out" lanczos-spline-bicubic filters worked perfectly.
User avatar
xnview
Author of XnView
Posts: 43444
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: "High quality Zoom-out" lanczos-spline-bicubic filters don't work

Post by xnview »

in 0.98.2, it was a bug
Pierre.
xmozg
Posts: 58
Joined: Fri Sep 24, 2021 3:31 pm

Re: "High quality Zoom-out" lanczos-spline-bicubic filters don't work

Post by xmozg »

xnview wrote: Sun Sep 26, 2021 7:55 am in 0.98.2, it was a bug
I dont know, how it is bug, if:
xn5.png
Version 0.98.1, where high quality lanczos-spline-bicubic filters was officially introduced, shows lanczos zoom out perfectly.

Only starting with 0.98.3, when high quality lanczos-spline-bicubic "zoom out" was introduced, also bug was introduced, which destroy ACTUAL high quality lanczos-spline-bicubic zoom out and replaced it with high quality lanczos-spline-bicubic zoom in. In photography sharp zoom out is much more important, than sharp zoom in. Bicubic-spline-lanczos algorithm recommended for zoom out. And billinear recommended for zoom in. Xnview not just has this bug, but works not as expected by image editors and in pro photo, using resource-cheap billinear zoom out as 1990-early 200X programs.

Please fix this bug, or return back destroyed "Bicubic-spline-lanczos zoom out", so xnview will have Bicubic-spline-lanczos algorithms for both zoom in and zoom out. Version 0.98.2 is latest, which I can use. 0.99.1 is blurry and ugly, it and newer versions will be abandoned by me and other users (to which high quality matter), until bug will be fixed.
Scenerix
Posts: 2
Joined: Fri May 26, 2023 5:18 pm

Re: "High quality Zoom-out" lanczos-spline-bicubic filters don't work

Post by Scenerix »

I second this. It is very annoying that the shown scaling options do nothing for downscaling.
User avatar
xnview
Author of XnView
Posts: 43444
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: "High quality Zoom-out" lanczos-spline-bicubic filters don't work

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.
User avatar
xnview
Author of XnView
Posts: 43444
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: "High quality Zoom-out" lanczos-spline-bicubic filters don't work

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.5.0 beta. Please check and confirm the bug fix here.
Pierre.
Kadet
Posts: 78
Joined: Thu Oct 20, 2022 7:23 pm

Re: "High quality Zoom-out" lanczos-spline-bicubic filters don't work

Post by Kadet »

Now is a big problem.
When I zoom picture more than 100%, image is cutting on right and down side by few % :(
It works when zoom HDPI screen is setting off.

[update]
Windows 11 / display resolution 1920x1200 / win scaling 110%
User avatar
xnview
Author of XnView
Posts: 43444
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: "High quality Zoom-out" lanczos-spline-bicubic filters don't work

Post by xnview »

which zoom settings do you have?
Pierre.
Kadet
Posts: 78
Joined: Thu Oct 20, 2022 7:23 pm

Re: "High quality Zoom-out" lanczos-spline-bicubic filters don't work

Post by Kadet »

xnview wrote: Mon Jun 19, 2023 2:41 pm which zoom settings do you have?
Pixel ratio: square
Zoom step: fixed step / 25
Zoom Out: Bilinear (no mater)
Zoom In: Lanczos 3 (no mater)
Zoom on HiDPI screen: off (empty / is not checked)
User avatar
xnview
Author of XnView
Posts: 43444
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: "High quality Zoom-out" lanczos-spline-bicubic filters don't work

Post by xnview »

Problem is no more here when 'Zoom on HiDPI screen: on'?
Pierre.
Kadet
Posts: 78
Joined: Thu Oct 20, 2022 7:23 pm

Re: "High quality Zoom-out" lanczos-spline-bicubic filters don't work

Post by Kadet »

xnview wrote: Mon Jun 19, 2023 3:49 pm Problem is no more here when 'Zoom on HiDPI screen: on'?
No problem when HiDPI is ON
User avatar
xnview
Author of XnView
Posts: 43444
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: "High quality Zoom-out" lanczos-spline-bicubic filters don't work

Post by xnview »

will be fixed in b2
Pierre.
Kadet
Posts: 78
Joined: Thu Oct 20, 2022 7:23 pm

Re: "High quality Zoom-out" lanczos-spline-bicubic filters don't work

Post by Kadet »

Is fixed.
Post Reply