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