magick convert

Convert between image formats, scale, join, and create images, and much more. Note: this tool (previously convert) has been replaced by magick in ImageMagick 7+. More information: https://imagemagick.org/script/convert.php.

magick convert {{path/to/input_image.jpg}} {{path/to/output_image.png}}

magick convert {{path/to/input_image.png}} -resize 50% {{path/to/output_image.png}}

magick convert {{path/to/input_image.png}} -resize 640x480 {{path/to/output_image.png}}

magick convert {{path/to/input_image.png}} -define jpeg:extent=512kb {{path/to/output_image.jpg}}

magick convert {{path/to/image1.png path/to/image2.png ...}} {{-append|+append}} {{path/to/output_image.png}}

magick convert {{path/to/image1.png path/to/image2.png ...}} -delay {{10}} {{path/to/animation.gif}}

magick convert -size {{800x600}} "xc:{{#ff0000}}" {{path/to/image.png}}

magick convert {{path/to/image1.png path/to/image2.png ...}} {{path/to/favicon.ico}}