Page 1 of 1

Incorrect value for {DstWidth}

Posted: Fri Mar 12, 2021 1:08 am
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.

Re: Incorrect value for {DstWidth}

Posted: Tue Mar 16, 2021 3:12 pm
by xnview
:bugconfirmed: Thanks to your detailed description I can reproduce the problem.

Re: Incorrect value for {DstWidth}

Posted: Thu May 06, 2021 2:15 pm
by xnview
This problem is supposed to be fixed in XnView MP 0.98.3. Please check and confirm the bug fix here.