ok

Mini Shell

Direktori : /opt/cpanel/ea-php56/root/usr/share/tests/pecl/imagick/tests/
Upload File :
Current File : //opt/cpanel/ea-php56/root/usr/share/tests/pecl/imagick/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

Zerion Mini Shell 1.0