Resize canvas by longest side to be square?

XnConvert Multi Platform - Windows, MacOSX, Linux
Post Reply
hexaae
Posts: 2
Joined: Tue Jun 16, 2020 3:12 pm

Resize canvas by longest side to be square?

Post by hexaae » Tue Jun 16, 2020 3:35 pm

Is there a way to create a batch process under Actions where the canvas will be set to "square" based on the longest side (height or width) of the pic?
For example you have 2 pics: A (250x450), B (1600x450), and you want them to be "square" (A = 450x450, B = 1600x1600) resizing canvas by the longest side. Unfortunately 'Canvas resize' image option has no option to specify "width == height by the longest side" to generate square images with different size...

Or maybe there's another solution I didn't think of yet?

hexaae
Posts: 2
Joined: Tue Jun 16, 2020 3:12 pm

Re: Resize canvas by longest side to be square?

Post by hexaae » Fri Jun 19, 2020 11:47 am

That option would be extremely useful for www sites requiring many thumbnails of the same size, or with different square in size thumbs.

Post Reply