%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /opt/cpanel/ea-php73/root/usr/share/tests/pecl/imagick/tests/
Upload File :
Create Path :
Current File : //opt/cpanel/ea-php73/root/usr/share/tests/pecl/imagick/tests/307_Imagick_levelImageColors.phpt

--TEST--
Test Imagick, levelImageColors
--SKIPIF--
<?php
require_once(dirname(__FILE__) . '/skipif.inc');
checkClassMethods('Imagick', array('levelImageColors'));
?>
--FILE--
<?php
function levelImageColors() {
    $imagick = new \Imagick(__DIR__ . '/Biter_500.jpg');
    $imagick->levelImageColors(
		"rgb(10, 10, 10)",
		"rgb(240, 240, 240)",
		false
	);
//    $imagick->writeImage(__DIR__ . '/levelImageColors_output_image.png');
    $imagick->getImageBlob();
}

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

Zerion Mini Shell 1.0