Re: help resizing a transparent png
Posted: 2009-04-17T18:08:32-07:00
Interesting that I don't see -size in the options page at http://www.imagemagick.org/script/comma ... ptions.php
If you want to add a border, use either -extent or -border. see http://www.imagemagick.org/script/comma ... ptions.php
But your command is needlessly complicated. I would do it this way
convert mypng.png -resize 480x270\> -gravity center -background none -extent 480x270 resized.png
If you want to add a border, use either -extent or -border. see http://www.imagemagick.org/script/comma ... ptions.php
But your command is needlessly complicated. I would do it this way
convert mypng.png -resize 480x270\> -gravity center -background none -extent 480x270 resized.png