Canvas resize to square with transparency

XnConvert Multi Platform - Windows, MacOSX, Linux

Moderators: helmut, XnTriq, xnview

Post Reply
TGD
Posts: 1
Joined: Wed Sep 13, 2023 3:48 pm

Canvas resize to square with transparency

Post by TGD »

I need to resize a bunch of png images to square by their longest sides and fill the newly added space with transparency.

I added Canvas resize and set alpha to 0, but despite that the newly added space gets filled with color. What's strange is that some images from the batch get processed correctly and get the space filled with transparency and I have no idea what is causing this.
Attachments
Correctly processed image, space filled with transparency
Correctly processed image, space filled with transparency
Incorrectly processed image, space filled with color
Incorrectly processed image, space filled with color
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Canvas resize to square with transparency

Post by xnview »

please send me the file?
Pierre.
Post Reply