--TEST-- Test Imagick, setImageOrientation --SKIPIF-- --FILE-- newPseudoImage(640, 480, "magick:logo"); $imagick->setImageOrientation($orientationType); $bytes = $imagick->getImageBlob(); if (strlen($bytes) <= 0) { echo "Failed to generate image.";} } setImageOrientation($orientationType) ; echo "Ok"; ?> --EXPECTF-- Ok