The ImageMagick PHP function for getCompression returns an integer representing the value associated with the ImageMagick Compression constant. You'll get numbers from 0 to 13, each representing a different particular type of compression. If printed out, the ImageMagick constants for compression come out as...imagick::COMPRESSION_UNDEFINED 0imagick::COMPRESSION_NO 1imagick::COMPRESSION_BZIP 2imagick::COMPRESSION_DXT1 3imagick::COMPRESSION_DXT3 4imagick::COMPRESSION_DXT5 5imagick::COMPRESSION_FAX 6imagick::COMPRESSION_GROUP4 7imagick::COMPRESSION_JPEG 8imagick::COMPRESSION_JPEG2000 9imagick::COMPRESSION_LOSSLESSJPEG 10imagick::COMPRESSION_LZW 11imagick::COMPRESSION_RLE 12imagick::COMPRESSION_ZIP 13Every time I have used this, whether on a jpeg image, a png image, a gif image, or a bmp image, it has always returned '0' as a value. There's a good chance that this is simply a value that is set by means of get/set, as opposed to actually producing values for a given image.Some sample code :<?php $imagick_type = new Imagick(); $file_to_grab = "image_workshop_directory/test.bmp"; $file_handle_for_viewing_image_file = fopen($file_to_grab, 'a+'); $imagick_type->readImageFile($file_handle_for_viewing_image_file); $imagick_type_compression = $imagick_type->getCompression(); print("<pre>"); print($imagick_type_compression); print("</pre>");?>