Gmagick
PHP 手册

Gmagick::haspreviousimage

(PECL gmagick >= Unknown)

Gmagick::haspreviousimageChecks if the object has a previous image

说明

public void Gmagick::haspreviousimage ( void )

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

参数

This function has no parameters.

返回值

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

错误/异常

Throws an GmagickException on error.


Gmagick
PHP 手册