Code: Select all
convert test.jpg -quality 90 -format PNG32 -background transparent -thumbnail x330 -resize '440x<' -resize 50% -gravity center -crop 220x165+0+0 -rotate "-4.4" test.png
Having looked into formats and optimization with ImageMagick on this page http://www.imagemagick.org/Usage/thumbnails/ I am no clearer as to how I can reduce the file size of the outputted alpha PNG. I am aware of tools such as pngquant, but ideally I'd like to do more optimization within ImageMagick.
Any tips and tricks are greatly appreciated, thanks!