uawdijnntqw1x1x1
IP : 3.17.175.191
Hostname : host45.registrar-servers.com
Kernel : Linux host45.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
..
/
.
/
.
/
opt
/
alt
/
tests
/
alt-php80-pecl-imagick_3.7.0-4.el8
/
tests
/
.
/
326_Imagick_setExtract.phpt
/
/
--TEST-- Test Imagick, setExtract --SKIPIF-- <?php require_once(dirname(__FILE__) . '/skipif.inc'); checkClassMethods('Imagick', array('setExtract')); ?> --FILE-- <?php function setExtract() { $imagick = new \Imagick(); $imagick->setExtract("300x200+0+0"); $imagick->readImage(__DIR__ . '/Biter_500.jpg'); // $data = $imagick->getImageBlob(); // // $new_imagick = new Imagick(); // $new_imagick->readImageBlob($data); echo "Width is " . $imagick->getImageWidth() . "\n"; echo "Height is " . $imagick->getImageHeight() . "\n"; } setExtract() ; echo "Ok"; ?> --EXPECTF-- Width is 300 Height is 200 Ok
/home/../././opt/alt/tests/alt-php80-pecl-imagick_3.7.0-4.el8/tests/./326_Imagick_setExtract.phpt