Gmagick
PHP Manual

Gmagick::haspreviousimage

(PECL gmagick >= Unknown)

Gmagick::haspreviousimageChecks if the object has a previous image

说明

public mixed Gmagick::haspreviousimage ( void )

Returns TRUE if the object has more images when traversing the list in the reverse direction

参数

此函数没有参数。

返回值

Returns TRUE if the object has more images when traversing the list in the reverse direction, returns FALSE if there are none.

错误/异常

错误时抛出GmagickException.


Gmagick
PHP Manual