There is a scanned TIFF image with the parameters 16bit, 14000px X 14000px, 1200dpi. In php imagick I do:
$im->readImage( $DOCUMENT_ROOT.$TifFilePath ); $im->setImageCompression(Imagick::COMPRESSION_ZIP); $im->setCompressionQuality(10); $im->setImageFormat( "jpg" ); I get a file with the image of the same linear dimensions and resolution. The file size is about 40 MB. It is necessary to reduce the size of the output file by an order of magnitude, even at the price of deteriorating image quality. Linear dimensions and resolution should be maintained.