-compress : use the pixel compression specified by type when recording the image
Options include: None, BZip, Fax, Group4, JPEG, JPEG2000, Lossless, LZW, RLE, or Zip.
To print a complete list of compression types, use -list compress .
Specify +compress to save the binary image in uncompressed format. By default, the compression type of the specified image file is used.
If LZW compression is specified but LZW compression is not enabled, image data is written in the uncompressed LZW format, which can be read by LZW decoders. This can lead to larger than expected GIF files.
Lossless refers to lossless JPEG, which is only available if the JPEG library has been fixed to support it. Using lossless JPEGs is usually not recommended.
Use the -quality parameter to set the compression level that JPEG, PNG, MIFF, and MPEG encodings will use. Use the -sampling-factor parameter to set the sampling rate, which will be used by JPEG, MPEG, and YUV encodings to sample color channels.