ImageMagick: Difference between revisions

From DWIKI
mNo edit summary
Line 7: Line 7:
  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 to favicon==
  convert -define icon:auto-resize=256,64,48,32,16 foo.png favicon.ico
  convert -define icon:auto-resize=256,64,48,32,16 foo.png favicon.ico

Revision as of 15:31, 5 November 2023

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