1.6.3 After resizing Pictures show jagged

*** Please report new bugs here! ***

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
XnSoldier
Posts: 73
Joined: Wed Aug 02, 2023 1:17 am

1.6.3 After resizing Pictures show jagged

Post 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%
Photographer. Sorting 100.000-250.000 pics per year

20 years with ACDSee Photo Professional. Love and Hate. I would love to see XnView MP upgraded for better editing or a commercial "XnPhoto Pro"! Keep up the great work!
User avatar
xnview
Author of XnView
Posts: 46413
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.6.3 After resizing Pictures show jagged

Post by xnview »

please send me the original file
Pierre.
XnSoldier
Posts: 73
Joined: Wed Aug 02, 2023 1:17 am

Re: 1.6.3 After resizing Pictures show jagged

Post 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.
Photographer. Sorting 100.000-250.000 pics per year

20 years with ACDSee Photo Professional. Love and Hate. I would love to see XnView MP upgraded for better editing or a commercial "XnPhoto Pro"! Keep up the great work!
User avatar
xnview
Author of XnView
Posts: 46413
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.6.3 After resizing Pictures show jagged

Post by xnview »

You have not the same result when showing the reduced 200x200 image in XnView & default Photos app?
Pierre.
User avatar
XnTriq
Moderator & Librarian
Posts: 6514
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: 1.6.3 After resizing Pictures show jagged

Post 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%
User avatar
XnTriq
Moderator & Librarian
Posts: 6514
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: 1.6.3 After resizing Pictures show jagged

Post 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.
XnSoldier
Posts: 73
Joined: Wed Aug 02, 2023 1:17 am

Re: 1.6.3 After resizing Pictures show jagged

Post by XnSoldier »

XnTriq wrote: Fri Dec 22, 2023 5:45 pm
  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?
When activating HiDPI settings the images actually look much larger which doesn't make sense on my Macbook Pro.

There is no "High zoom Quality" settings (anymore) in 1.9.2. Maybe the antialias settings is it now. strange that zooming in doesn't have any settings by default.
Attachments
xnview view settings.jpg
xnview view settings.jpg (159.38 KiB) Viewed 39 times
Photographer. Sorting 100.000-250.000 pics per year

20 years with ACDSee Photo Professional. Love and Hate. I would love to see XnView MP upgraded for better editing or a commercial "XnPhoto Pro"! Keep up the great work!
User avatar
xnview
Author of XnView
Posts: 46413
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.6.3 After resizing Pictures show jagged

Post by xnview »

i've tried on Mac, and can't reproduce. if you save the reduced image, and open it, same problem?
Pierre.
Post Reply