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

*** Please try to reproduce your bug and confirm the bug fix. ***

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
User avatar
user0
XnThusiast
Posts: 2411
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: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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: 2411
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
(365.25 KiB) Downloaded 77 times

screenshot of actions, just in case (same as described in 1st message)
actions.png
ckit
XnThusiast
Posts: 2583
Joined: Tue Feb 17, 2004 1:11 am
Location: QLD, Australia
Contact:

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
Screenshot 2023-02-10 214347.png (28.12 KiB) Viewed 2021 times
Yes, I did upload it before anyone asks
AMD Ryzen 3 3300X 3.8Ghz, 16Gb DDR4, RX6600XT with Dell U2520D at 2560x1440@60Hz scaling 125%
Win11 x64 24H2, Hard Disk Sentinel Pro, MS PowerToys, Process Lasso Pro and Wintoys
User avatar
user0
XnThusiast
Posts: 2411
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: 2583
Joined: Tue Feb 17, 2004 1:11 am
Location: QLD, Australia
Contact:

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%
Win11 x64 24H2, Hard Disk Sentinel Pro, MS PowerToys, Process Lasso Pro and Wintoys
User avatar
user0
XnThusiast
Posts: 2411
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
Post Reply