xref: /imagick/tests/262_autoOrient.phpt (revision 2a0a07f8)
1--TEST--
2Test autoOrient
3--SKIPIF--
4<?php require_once(dirname(__FILE__) . '/skipif.inc');
5
6$v = Imagick::getVersion();
7if ($v['versionNumber'] < 0x693)
8	die ('skip too old ImageMagick');
9
10// if ($v ['versionNumber'] >= 0x660 && $v ['versionNumber'] < 0x670)
11//	die ('skip seems to be broken in this version of ImageMagick');
12?>
13--FILE--
14<?php
15
16$im = new Imagick("magick:logo");
17$im->autoOrient();
18
19echo "Ok";
20
21?>
22--EXPECT--
23Ok