Imagick::hasPreviousImage

(PECL imagick 2, PECL imagick 3)

Imagick::hasPreviousImageChecks if the object has a previous image

Description

public Imagick::hasPreviousImage ( ) : bool

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

Return Values

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

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