Gmagick::haspreviousimage

From Get docs
Php/docs/latest/gmagick.haspreviousimage


Gmagick::haspreviousimage

(PECL gmagick >= Unknown)

Gmagick::haspreviousimageChecks if the object has a previous image


Description

public Gmagick::haspreviousimage(): mixed

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


Parameters

This function has no parameters.


Return Values

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


Errors/Exceptions

Throws an GmagickException on error.


© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/gmagick.haspreviousimage.php