Incorrect value for {DstWidth}

Older bugs which are supposed to be fixed in 0.84. *** Please try to reproduce your bug and confirm the bug fix. ***

Moderators: XnTriq, helmut, xnview, Dreamer

Post Reply
Spriggana
Posts: 16
Joined: Sun Feb 12, 2012 12:29 am

Incorrect value for {DstWidth}

Post by Spriggana »

Not sure which version introduced it, but in some cases the value for {DstWidth} is calculated incorrectly.

The case for me is:

1) run resize command with "Reduce only" option on a image smaller then given dimensions
2) save it with {DstWidth} in the filename

The resulting filename contains the width of image resized to given dimensions - i.e. enlarged

So when I have a 600×860 image.jpg, run it through a macro downsizing for 900×900 and save it as {Filename}_{DstWidth} what I get is 600×860 image_628.jpg instead of image_600.jpg.
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Incorrect value for {DstWidth}

Post by xnview »

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

Re: Incorrect value for {DstWidth}

Post by xnview »

This problem is supposed to be fixed in XnView MP 0.98.3. Please check and confirm the bug fix here.
Pierre.
Post Reply