XnView 2.44 uses different rounding approaches to calculate target image dimensions on resize

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: XnTriq, xnview

Post Reply
User avatar
dma_k
Posts: 75
Joined: Tue Apr 14, 2009 8:50 am

XnView 2.44 uses different rounding approaches to calculate target image dimensions on resize

Post by dma_k » Sat May 12, 2018 10:52 pm

Dear XnView team/community,

I perform resize (maintaining aspect ratio) of initial image with dimensions 2480×3500 in two ways:
  • Image → Resize: When I enter the target width 1020, it suggests target height 1440 (IMHO correct as rounded from 1439.51).
  • Tools → Batch processing → Transformations → Resize: When I enter the target width 1020, the target image height is 1439.
I believe both methods should produce same (consistent) result.

User avatar
xnview
Author of XnView
Posts: 30213
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: XnView 2.44 uses different rounding approaches to calculate target image dimensions on resize

Post by xnview » Mon May 14, 2018 7:43 am

Right, XnViewMP has the same bug
Pierre.

Post Reply