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

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

User avatar
user0
XnThusiast
Posts: 2007
Joined: Sat May 09, 2015 9:37 am

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

Post 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
Last edited by user0 on Sat May 13, 2023 5:40 am, edited 3 times in total.
User avatar
xnview
Author of XnView
Posts: 44930
Joined: Mon Oct 13, 2003 7:31 am
Location: France

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

Post by xnview »

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

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

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.4.1. Please check and confirm the bug fix here.
Pierre.
User avatar
user0
XnThusiast
Posts: 2007
Joined: Sat May 09, 2015 9:37 am

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

Post 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

screenshot of actions, just in case (same as described in 1st message)
actions.png
You do not have the required permissions to view the files attached to this post.
User avatar
user0
XnThusiast
Posts: 2007
Joined: Sat May 09, 2015 9:37 am

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

Post by user0 »

ckit
XnThusiast
Posts: 2577
Joined: Tue Feb 17, 2004 1:11 am
Location: QLD, Australia

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

Post by ckit »

Crash Confirmed using JPG format with NO convert! (played a hunch)
Screenshot 2023-02-10 214347.png
Yes, I did upload it before anyone asks
You do not have the required permissions to view the files attached to this post.
AMD Ryzen 3 3300X 3.8Ghz, 16Gb DDR4, RX6600XT with Dell U2520D at 2560x1440@60Hz scaling 125%
Windows 11 Pro x64 23H2, Listary Pro, PowerToys and Wintoys
User avatar
user0
XnThusiast
Posts: 2007
Joined: Sat May 09, 2015 9:37 am

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

Post by user0 »

issue still remain in 1.4.3
try test file from my post above, crashes as is, without conversion to png
ckit
XnThusiast
Posts: 2577
Joined: Tue Feb 17, 2004 1:11 am
Location: QLD, Australia

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

Post 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...
AMD Ryzen 3 3300X 3.8Ghz, 16Gb DDR4, RX6600XT with Dell U2520D at 2560x1440@60Hz scaling 125%
Windows 11 Pro x64 23H2, Listary Pro, PowerToys and Wintoys
User avatar
user0
XnThusiast
Posts: 2007
Joined: Sat May 09, 2015 9:37 am

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

Post by user0 »

issue still remain in 1.4.5