1--TEST--
2Test Imagick, transformImage
3--SKIPIF--
4<?php
5$imageMagickRequiredVersion=0x675;
6require_once(dirname(__FILE__) . '/skipif.inc');
7checkClassMethods('Imagick', array('transformimage'));
8?>
9--FILE--
10<?php
11
12
13function transformimage() {
14    $imagick = new \Imagick();
15    $imagick->newPseudoImage(640, 480, "magick:logo");
16    $newImage = $imagick->transformImage("400x600", "200x300");
17    $bytes = $newImage->getImageBlob();
18    if (strlen($bytes) <= 0) { echo "Failed to generate image.";}
19}
20
21transformimage() ;
22echo "Ok";
23?>
24--EXPECTF--
25Deprecated: %s Imagick::transformImage() is deprecated in %s
26Ok
27