ImageMagick: Difference between revisions

From DWIKI
(Created page with "=FAQ= ==Extract images from animated gif== convert img.gif -coalesce img/xx_%05d.png")
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Links=
*[https://www.php.net/manual/en/book.imagick.php Imagick on php]
=FAQ=
=FAQ=


==Extract images from animated gif==
==Extract images from animated gif==
  convert img.gif -coalesce img/xx_%05d.png
  convert img.gif -coalesce img/xx_%05d.png
==Shrink filesize==
convert in.jpg -define jpeg:extent=512kb out.jpg
==Convert to favicon==
convert -define icon:auto-resize=256,64,48,32,16 foo.png favicon.ico
==Check formats supported by your imagemagick==
convert --version
or
magick -list format

Revision as of 15:32, 24 April 2024

Links

FAQ

Extract images from animated gif

convert img.gif -coalesce img/xx_%05d.png


Shrink filesize

convert in.jpg -define jpeg:extent=512kb out.jpg

Convert to favicon

convert -define icon:auto-resize=256,64,48,32,16 foo.png favicon.ico


Check formats supported by your imagemagick

convert --version

or

magick -list format