php8.5
Home/ Manual/ imagick / imagick/ Imagick::getNumberImages

Imagick::getNumberImages

PHP function Edit on GitHub ✎

(PECL imagick 2, PECL imagick 3)

Returns the number of images in the object

Description

Imagick::getNumberImages(): int

Returns the number of images associated with Imagick object.

Parameters Parameters

Return Values

Returns the number of images associated with Imagick object.

Errors/Exceptions

Throws

Source: reference/imagick/imagick/getnumberimages.xml · from the official PHP manual (php/doc-en)