📁 File Manager Pro
v10.0.3 | PHP: 8.2.31
Server: LiteSpeed
2026-07-03 02:00:28
📂
/ (Root)
/
opt
/
alt
/
tests
/
alt-php80-pecl-imagick_3.8.1-17.el8
/
tests
📍 /opt/alt/tests/alt-php80-pecl-imagick_3.8.1-17.el8/tests
🔄 Refresh
✏️
Editing: 300_Imagick_autoThresholdImage.phpt
Read Only
--TEST-- Test Imagick, autoThresholdImage --SKIPIF-- <?php require_once(dirname(__FILE__) . '/skipif.inc'); checkClassMethods('Imagick', array('autoThresholdImage')); ?> --FILE-- <?php function autoThresholdImage() { $imagick = new \Imagick(__DIR__ . '/Biter_500.jpg'); $imagick->autoThresholdImage(Imagick::AUTO_THRESHOLD_OTSU); $imagick->writeImage(__DIR__ . '/autoThresholdImage_output_image.png'); // $imagick->getImageBlob(); } autoThresholdImage() ; echo "Ok"; ?> --CLEAN-- <?php @unlink(__DIR__ . '/autoThresholdImage_output_image.png'); ?> --EXPECTF-- Ok
💾 Save Changes
❌ Cancel