Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
However, the quality always seems to be set to 100 (the file size is 280kb!). Is there a way I can get the output.png to be < 100kb whilst also resizing?
Version 6 should read the image in first, -strip removes all EXIF data etc. -thumbnail removes all EXIF data except the colour profile on earlier versions.
However, the quality always seems to be set to 100 (the file size is 280kb!). Is there a way I can get the output.png to be < 100kb whilst also resizing?
Thanks!
-quality 50 is meaningful only to JPEG images. for PNG -quality uses very different values.
The first digit is compression with '9' as the highest, the second digit is encoding method and the best method depends on the type of image (real life, cartoon-like, etc)
To find the best compression for PNG look at "OptiPNG", For 8-bit (color table or palette) PNG whcih is smaller but lossy (whcih as you are resizing is obviously not an issue), you can also look at "pngng". See IM examples, Common File Formats, PNG non-IM PNG tools... http://www.imagemagick.org/Usage/formats/#png_non-im