Page 1 of 1

Imagemagic image size get smaller MB

Posted: 2014-11-27T09:31:04-07:00
by Darknet
How do I get the images smaller? I mean the Megabite/kilobyte not the witdth and height.

Re: Imagemagic image size get smaller MB

Posted: 2014-11-27T10:27:13-07:00
by snibgo
Generally: choose a file type that supports compression (eg PNG, TIFF, JPG) and set the appropriate settings. At the command level, these are "-compress" and "-quality".

You might also reduce the bit depth (eg 8 bits/channel/pixel instead of 16), or use indexed (palette) storage.

I don't know how to do this in Magick++.