Imagick
PHP Manual

Imagick::count

(No version information available, might only be in Git)

Imagick::countGet the number of images

Description

public int Imagick::count ([ int $mode = 0 ] )

Returns the number of images.

Liste de paramètres

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.

Valeurs de retour

Returns the number of images.


Imagick
PHP Manual