Php/docs/imagick.getimageorientation

来自菜鸟教程
跳转至:导航、​搜索

Imagick::getImageOrientation

(PECL imagick 2, PECL imagick 3)

Imagick::getImageOrientationGets the image orientation


说明

public Imagick::getImageOrientation ( ) : int

Gets the image orientation. The return value is one of the orientation constants.


返回值

Returns an int on success.


错误/异常

错误时抛出 ImagickException。