| Path : /usr/local/src/imagick-3.4.4/tests/ |
| Current File : //usr/local/src/imagick-3.4.4/tests/009_properties.phpt |
--TEST--
Test reading properties
--SKIPIF--
<?php
require_once(dirname(__FILE__) . '/skipif.inc');
checkFormatPresent('png');
?>
--FILE--
<?php
$im = new Imagick();
$im->newPseudoImage(100, 100, "XC:red");
$im->setImageFormat("png");
echo $im->width . "x" . $im->height . "\n";
echo $im->format;
?>
--EXPECTF--
100x100
png