Compression in ImageMagick
10 May 2022Following up on a previous post about converting images to a TIFF with a specific dots-per-inch, or DPI, for large images it may be necessary to compress the image during the conversion as well.
Without compression:
convert -density 600 image1.png image1.tiff
With LZW compression:
convert image1.png -density 600 -compress lzw image1-compressed.tiff
LZW is a lossless compression algorithm; more information: Wikipedia.
ImageMagick docs on -compress
.