File manager - Edit - /opt/cpanel/ea-php72/root/usr/share/tests/pecl/imagick/tests/299_Imagick_rangeThresholdImage.phpt
Back
--TEST-- Test Imagick, rangeThresholdImage --SKIPIF-- <?php require_once(dirname(__FILE__) . '/skipif.inc'); checkClassMethods('Imagick', array('rangeThresholdImage')); ?> --FILE-- <?php function rangeThresholdImage() { $imagick = new \Imagick(__DIR__ . '/Biter_500.jpg'); $imagick->rangeThresholdImage( 32, 64, 192, 228 ); $imagick->writeImage(__DIR__ . '/rangeThresholdImage_output_image.png'); // $imagick->getImageBlob(); } rangeThresholdImage() ; echo "Ok"; ?> --CLEAN-- <?php @unlink(__DIR__ . '/rangeThresholdImage_output_image.png'); ?> --EXPECTF-- Ok
| ver. 1.4 |
Github
|
.
| PHP 8.2.32 | Generation time: 0.06 |
proxy
|
phpinfo
|
Settings