Page 1 of 1

1.4.0 - batch convert - crash - 'Canvas resize' + 'Resize' + 'Aspect Pad'

Posted: Mon Dec 05, 2022 4:33 pm
by user0
XnViewMP 1.3.1-1.4.5 64bit
Windows10-11 64bit (22H2), display resolution 3840x2160, win scaling 150%


Batch convert
'Canvas resize' + 'Resize' + 'Aspect Pad'

To reproduce:
1. run clean portable XnViewMP
2. open any test image
3. press shift+s to open Image resize dialog

issue A
4. resize image to 2115x1587, save
5. press ctrl+u to open Batch convert dialog
6. add actions:
- 'Canvas resize', Normal, set W&H 200%
- 'Resize', Fit, set W&H 200%
- 'Aspect Pad', ratio 0.10 (default value)
7. press Convert
convertion will fail, resulting in 0byte result file

issue B
4. resize image to 2116x1588, save
3. press ctrl+u to open Batch convert dialog
6. add actions:
- 'Canvas resize', Normal, set W&H 200%
- 'Resize', Fit, set W&H 200%
- 'Aspect Pad', ratio 0.10 (default value)
app will crash as soon as you add last action

if my calculations correct it is somthing like this:
after resize: 2115*4 = 8460 x 1588
after ratio: 8460 x 80580 = 681.71 megapixels




Related

Re: 1.4.0b2 - batch convert - crash - 'Canvas resize' + 'Resize' + 'Aspect Pad'

Posted: Sat Dec 31, 2022 8:42 am
by xnview
:bugconfirmed: Thanks to your detailed description I can reproduce the problem.

Re: 1.4.0b2 - batch convert - crash - 'Canvas resize' + 'Resize' + 'Aspect Pad'

Posted: Mon Jan 16, 2023 12:33 pm
by xnview
This problem is supposed to be fixed in XnView MP 1.4.1. Please check and confirm the bug fix here.

Re: 1.4.0b2 - batch convert - crash - 'Canvas resize' + 'Resize' + 'Aspect Pad'

Posted: Thu Jan 26, 2023 5:25 pm
by user0
issue (app crash) still exists in 1.4.1,1.4.2
I guess file size/format also matters

try with this test file, but convert it to .png first (too large to attach to forum as .png)
it shall be ~3,162Kb in .png format
test_file.zip
(365.25 KiB) Downloaded 77 times

screenshot of actions, just in case (same as described in 1st message)
actions.png

Re: 1.4.0b2 - batch convert - crash - 'Canvas resize' + 'Resize' + 'Aspect Pad'

Posted: Fri Jan 27, 2023 6:05 pm
by user0

Re: 1.4.0b2 - batch convert - crash - 'Canvas resize' + 'Resize' + 'Aspect Pad'

Posted: Fri Feb 10, 2023 11:46 am
by ckit
Crash Confirmed using JPG format with NO convert! (played a hunch)
Screenshot 2023-02-10 214347.png
Screenshot 2023-02-10 214347.png (28.12 KiB) Viewed 2022 times
Yes, I did upload it before anyone asks

Re: 1.4.0b2 - batch convert - crash - 'Canvas resize' + 'Resize' + 'Aspect Pad'

Posted: Mon Feb 27, 2023 2:07 pm
by user0
issue still remain in 1.4.3
try test file from my post above, crashes as is, without conversion to png

Re: 1.4.0b2 - batch convert - crash - 'Canvas resize' + 'Resize' + 'Aspect Pad'

Posted: Wed Mar 01, 2023 5:23 am
by ckit
user0 wrote: Mon Feb 27, 2023 2:07 pm issue still remain in 1.4.3
try test file from my post above, crashes as is, without conversion to png
Pierre, didn't make a post about it being fixed in 1.4.3.
Just be patient for now...

Re: 1.4.0b2 - batch convert - crash - 'Canvas resize' + 'Resize' + 'Aspect Pad'

Posted: Wed May 10, 2023 4:00 pm
by user0
issue still remain in 1.4.5