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