Page 1 of 1

1.6.3 After resizing Pictures show jagged

Posted: Tue Dec 19, 2023 5:33 pm
by XnSoldier
I have a high resolution image of like 5400x5400 pixels and I resize it to 200x200:
Image
I also tried other resizing Methods like Lancoz2 to no avail.

Direct Screenshot result looks jagged on100% display on a 4K Display. In XnView it actually looks smaller. Same as the image below.
Image
Image Attribution: macrovector - Freepik

Saved Image:
Image
Image Attribution: macrovector - Freepik

When I open the Image in Microsoft "photos" it looks smooth and smaller:
Image

Very confusing.

BTW: When zooming I get very odd zoom factors: 200-142-100-71-51-35-26-18-13%

Re: 1.6.3 After resizing Pictures show jagged

Posted: Wed Dec 20, 2023 8:10 am
by xnview
please send me the original file

Re: 1.6.3 After resizing Pictures show jagged

Posted: Wed Dec 20, 2023 11:38 am
by XnSoldier
Original:
Image
Image by: Macrovector - Freepic

reduced version:
Image
Image by: Macrovector - Freepic

But I had that with other images also. So it is not necessarily this. I don't know if it is just the display mechanism. but when showing 100% or at least like 1 pixel of image is 1 pixel of screen there should be no jagged edges.

But if I open the resized version in a browser or with the microsoft photo app it looks all fine and smooth. well, could be a bit better in the browser though. Maybe resizing algorithm is not ideal for such graphics.
The microsoft photo app seems to smoothen images on display.

Re: 1.6.3 After resizing Pictures show jagged

Posted: Fri Dec 22, 2023 7:46 am
by xnview
You have not the same result when showing the reduced 200x200 image in XnView & default Photos app?

Re: 1.6.3 After resizing Pictures show jagged

Posted: Fri Dec 22, 2023 5:45 pm
by XnTriq
XnSoldier wrote: Tue Dec 19, 2023 5:33 pmDirect Screenshot result looks jagged on100% display on a 4K Display. In XnView it actually looks smaller. Same as the image below.
  1. Is High zoom Quality in the View menu activated?
  2. Is Zoom on HiDPI screen: 1 image pixel equals 1 screen pixel in ToolsSettings…ViewView activated?

Possibly related:
xnview wrote: Sat Dec 18, 2021 8:07 amThere is an issue in QT library when using non decimal scaling like 125,150,175%

Re: 1.6.3 After resizing Pictures show jagged

Posted: Fri Dec 22, 2023 6:00 pm
by XnTriq
XnSoldier wrote: Tue Dec 19, 2023 5:33 pmBTW: When zooming I get very odd zoom factors: 200-142-100-71-51-35-26-18-13%
You can switch from Relative step to Fixed step in ToolsSettings…ViewView.