--TEST--
Test Imagick, transformImage
--SKIPIF--
<?php
$imageMagickRequiredVersion=0x675;
require_once(dirname(__FILE__) . '/skipif.inc');
checkClassMethods('Imagick', array('transformimage'));
?>
--FILE--
<?php
function transformimage() {
$imagick = new \Imagick();
$imagick->newPseudoImage(640, 480, "magick:logo");
$newImage = $imagick->transformimage("400x600", "200x300");
$bytes = $newImage->getImageBlob();
if (strlen($bytes) <= 0) { echo "Failed to generate image.";}
}
transformimage() ;
echo "Ok";
?>
--EXPECTF--
Deprecated: Function Imagick::transformimage() is deprecated in %s
Ok
Copyright 2K16 - 2K18 Indonesian Hacker Rulez