HEX
Server: LiteSpeed
System: Linux l24.yourwebhosting.net 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64
User: turkishi (1582)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: //opt/cpanel/ea-php83/root/usr/share/tests/pecl/imagick/tests/312_Imagick_colorThresholdImage.phpt
--TEST--
Test Imagick, colorThresholdImage
--SKIPIF--
<?php
require_once(dirname(__FILE__) . '/skipif.inc');
checkClassMethods('Imagick', array('colorThresholdImage'));
?>
--FILE--
<?php

function colorThresholdImage() {
    $imagick = new \Imagick(__DIR__ . '/Biter_500.jpg');
    $imagick->colorThresholdImage(
        "rgb(10, 10, 10)",
        "rgb(240, 240, 240)"
    );
//    $imagick->writeImage(__DIR__ . '/colorThresholdImage_output_image.png');
    $imagick->getImageBlob();
}

colorThresholdImage() ;
echo "Ok";
?>
--EXPECTF--
Ok