xref: /imagick/tests/009_properties.phpt (revision edb6f41a)
1--TEST--
2Test reading properties
3--SKIPIF--
4<?php
5	require_once(dirname(__FILE__) . '/skipif.inc');
6	checkFormatPresent('png');
7?>
8--FILE--
9<?php
10
11$im = new Imagick();
12$im->newPseudoImage(100, 100, "XC:red");
13$im->setImageFormat("png");
14
15echo $im->width . "x" . $im->height . "\n";
16echo $im->format;
17
18?>
19--EXPECTF--
20100x100
21png