getNumberImages() isn't documented here but it is available. You can look at ImageMagick documentation for use.
(PECL gmagick >= Unknown)
$GmagickDraw
, float $x
, float $y
, float $angle
, string $text
) : Gmagick$color
, int $width
, int $height
, int $inner_bevel
, int $outer_bevel
) : Gmagick$blackPoint
, float $gamma
, float $whitePoint
[, int $channel
= Gmagick::CHANNEL_DEFAULT
] ) : mixed$numColors
, int $colorspace
, int $treeDepth
, bool $dither
, bool $measureError
) : Gmagick$numColors
, int $colorspace
, int $treeDepth
, bool $dither
, bool $measureError
) : Gmagick$xResolution
, float $yResolution
, int $filter
, float $blur
) : Gmagick$width
, int $height
, int $filter
, float $blur
[, bool $fit
= FALSE
] ) : Gmagick
getNumberImages() isn't documented here but it is available. You can look at ImageMagick documentation for use.