: How to batch add whitespace to rectangular images so they all will be square? I have a lot of various sized rectangular images. I would like to keep them centered, do not change their size
I have a lot of various sized rectangular images. I would like to keep them centered, do not change their size and only add white space, so every image would be square. After that, I want to convert that square to PNG. I tried few commands in ImageMagick, but couldn't get expected result.
That command gives me almost expected result, however, SVG gets blurry:
magick mogrify *.svg -resize '128x128'-gravity center -extent '128x128' *.svg
What I want to do:
Resize SVG to square SVG
Do some work with SVG
Then export it to 128x128 PNG
More posts by @Jessie844
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.