You should use the PHP Imagick constants to correctly set the Image Units, as described here: http://www.php.net/manual/en/imagick.constants.phpRESOLUTION constantsimagick::RESOLUTION_UNDEFINED (integer)imagick::RESOLUTION_PIXELSPERINCH (integer)imagick::RESOLUTION_PIXELSPERCENTIMETER (integer)