XnViewMP 1.4.2 64bits
Windows11 64bit (22H2), display resolution 3840x2160, win scaling 150%
Batch convert
Border's Shadow effect has incorrect size on test file
1.4.2 - batch convert - Border's Shadow incorrect size
Moderators: helmut, XnTriq, xnview, Dreamer
Re: 1.4.2 - batch convert - Border's Shadow incorrect size
Confirmed.
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
Win11 x64 24H2, Hard Disk Sentinel Pro, MS PowerToys, Process Lasso Pro and Wintoys
- winnylinny
- Posts: 167
- Joined: Fri Apr 17, 2020 5:35 pm
Re: 1.4.2 - batch convert - Border's Shadow incorrect size
It appears that certain types of PNG mess up this effect?
Here's what resulted on my tests:
Works
Using random PNGs, WEBPs, and JPEGs in my personal library
Broken
Using your sample PNG image
Broken
Resaving your sample PNG image as a new PNG image
Works
Saving your sample PNG image as a WEBP or JPEG image
Works
Using the converted WEBP/JPEG image and converting it back into a PNG image
It's really weird. I couldn't figure out if there's any metadata or property of the original PNG that breaks this effect?
Here's what resulted on my tests:
Works
Using random PNGs, WEBPs, and JPEGs in my personal library
Broken
Using your sample PNG image
Broken
Resaving your sample PNG image as a new PNG image
Works
Saving your sample PNG image as a WEBP or JPEG image
Works
Using the converted WEBP/JPEG image and converting it back into a PNG image
It's really weird. I couldn't figure out if there's any metadata or property of the original PNG that breaks this effect?
- winnylinny
- Posts: 167
- Joined: Fri Apr 17, 2020 5:35 pm
Re: 1.4.2 - batch convert - Border's Shadow incorrect size
@user0, I think I figured it out.
After some further testing, I narrowed it down to 32-bit PNGs
The effect works fine with 24-bit PNGs.
The bug occurs if it is a 32-bit PNG.
Perhaps this effect has an issue with the extra 8-bit "transparency" (alpha) channel.
After some further testing, I narrowed it down to 32-bit PNGs
The effect works fine with 24-bit PNGs.
The bug occurs if it is a 32-bit PNG.
Perhaps this effect has an issue with the extra 8-bit "transparency" (alpha) channel.
Re: 1.4.2 - batch convert - Border's Shadow incorrect size
thanks for digging it up 
Re: 1.4.2 - batch convert - Border's Shadow incorrect size
See issue for current status and some details.
Pierre.
- winnylinny
- Posts: 167
- Joined: Fri Apr 17, 2020 5:35 pm
Re: 1.4.2 - batch convert - Border's Shadow incorrect size
Awesome, Peirre! 

Re: 1.4.2 - batch convert - Border's Shadow incorrect size
This problem is supposed to be fixed in XnView MP 1.4.3. Please check and confirm the bug fix here.
Pierre.
Re: 1.4.2 - batch convert - Border's Shadow incorrect size
fixed in 1.4.3