1--TEST--
2Test Imagick, shadowImage
3--SKIPIF--
4<?php
5$imageMagickRequiredVersion=0x675;
6require_once(dirname(__FILE__) . '/skipif.inc');
7?>
8--FILE--
9<?php
10
11
12function shadowImage() {
13    $imagick = new \Imagick();
14    $imagick->newPseudoImage(640, 480, "magick:logo");
15    $imagick->shadowImage(0.4, 10, 50, 5);
16    $bytes = $imagick->getImageBlob();
17    if (strlen($bytes) <= 0) { echo "Failed to generate image.";}
18}
19
20shadowImage() ;
21echo "Ok";
22?>
23--EXPECTF--
24Ok