PHP - Manual: Imagick::count
2024-12-22
(PECL imagick 3 >= 3.3.0)
Imagick::count — Get the number of images
$mode
= 0): intReturns the number of images.
mode
An unused argument. Currently there is a non-particularly well defined feature in PHP where calling count() on a countable object might (or might not) require this method to accept a parameter. This parameter is here to be conformant with the interface of countable, even though the param is not used.
Returns the number of images.