imagemagick 常用命令

  1. resize:

    convert logo.jpg -resize 1024×1024 1024.png

  2. 添加背景:

    convert logo.png -background white -gravity center -extent 1024×1024 icon1024.png

Leave a Reply

Your email address will not be published. Required fields are marked *