xref: /imagick/tests/263_autoGammaImage.phpt (revision 2a0a07f8)
1--TEST--
2Test autoGammaImage
3--SKIPIF--
4<?php
5require_once(dirname(__FILE__) . '/skipif.inc');
6checkClassMethods('Imagick', array('autoGammaImage'));
7?>
8--FILE--
9<?php
10
11$im = new Imagick("magick:logo");
12$im->autoGammaImage();
13
14
15$im = new Imagick("magick:logo");
16$im->autoGammaImage(\Imagick::CHANNEL_RED);
17
18echo "Ok";
19
20?>
21--EXPECT--
22Ok