array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'imagick.getimageorientation.php', 1 => 'Imagick::getImageOrientation', 2 => 'Gets the image orientation', ), 'up' => array ( 0 => 'class.imagick.php', 1 => 'Imagick', ), 'prev' => array ( 0 => 'imagick.getimagemimetype.php', 1 => 'Imagick::getImageMimeType', ), 'next' => array ( 0 => 'imagick.getimagepage.php', 1 => 'Imagick::getImagePage', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/imagick/imagick/getimageorientation.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>
(PECL imagick 2, PECL imagick 3)
Imagick::getImageOrientation — Gets the image orientation
Gets the image orientation. The return value is one of the orientation constants.
此函数没有参数。
Returns an int on success.
错误时抛出 ImagickException。