xref: /imagick/tests/246_antialias_image.phpt (revision d19335a4)
1--TEST--
2Test pseudo formats
3--SKIPIF--
4<?php require_once(dirname(__FILE__) . '/skipif.inc'); ?>
5--FILE--
6<?php
7
8$im = new Imagick();
9$im->newPseudoImage(10, 10, "magick:logo");
10//On by default
11var_export($im->getAntiAlias());
12echo PHP_EOL;
13
14//Turn off
15$im->setAntiAlias(false);
16var_export($im->getAntiAlias());
17echo PHP_EOL;
18
19//Turn back on
20$im->setAntiAlias(true);
21var_export($im->getAntiAlias());
22echo PHP_EOL;
23
24?>
25--EXPECTF--
26true
27false
28true