Batch Convert > Resize > Longest side > Percentage mismatch

Reported bugs that have been closed and/or resolved

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
Litr
Posts: 67
Joined: Wed Oct 12, 2011 9:26 pm

Batch Convert > Resize > Longest side > Percentage mismatch

Post by Litr »

This bug applies to both XnView MP and standalone XnConvert :shock:

Batch Convert > Resize > Longest side option will produce wrong results if applied.

For example
1) source file: rectangular 2000x3000px image (width x height)
2) Batch Convert > Resize
3) mode Longest Side
4) 50,00% (it can be 70% or whatever, but lets stay at 50%)
5) Reduce Only
expected results: we should get 1000x1500px image
real results: we will get 667x1000px image (i.e. half of the width, but not height)

I think that the value is taken from the "width" of the image, regardless of what is specified in the mode field.

Would be nice if you also fix this bug in XnConvert... and maybe also update XnConvert with Lanczos2 resample method! :D

Thank you.


Btw, this forum search is bugged too :mrgreen: . It will mark any possible word as "too common" word, for example it is impossible to search for "Batch Convert"
cday
XnThusiast
Posts: 4396
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Batch Convert > Resize > Longest side > Percentage mismatch

Post by cday »

Litr wrote: Tue Sep 13, 2022 7:16 pm Btw, this forum search is bugged too :mrgreen: . It will mark any possible word as "too common" word, for example it is impossible to search for "Batch Convert"
On that point, the Google search option that was added to the search page a while back is much better... :D
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Batch Convert > Resize > Longest side > Percentage mismatch

Post by xnview »

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

Re: Batch Convert > Resize > Longest side > Percentage mismatch

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.3.1. Please check and confirm the bug fix here.
Pierre.
Litr
Posts: 67
Joined: Wed Oct 12, 2011 9:26 pm

Re: Batch Convert > Resize > Longest side > Percentage mismatch

Post by Litr »

xnview wrote: Thu Oct 13, 2022 2:28 pm This problem is supposed to be fixed in XnView MP 1.3.1. Please check and confirm the bug fix here.
Looks like it was fixed! Thanks!
Post Reply