--TEST-- Test Imagick, distortImage --SKIPIF-- --FILE-- newPseudoImage(640, 480, "magick:logo"); $degrees = array( 180, 45, 100, 20 ); $imagick->setimagebackgroundcolor("#fad888"); $imagick->setImageVirtualPixelMethod( \Imagick::VIRTUALPIXELMETHOD_BACKGROUND ); $imagick->distortImage( \Imagick::DISTORTION_ARC, $degrees, TRUE ); header( "Content-Type: image/jpeg" ); $bytes = $imagick; if (strlen($bytes) <= 0) { echo "Failed to generate image.";} echo "Ok"; ?> --EXPECTF-- Ok