php / 8.1.5 / imagick.getimagechannelstatistics.html /

Imagick::getImageChannelStatistics

(PECL imagick 2, PECL imagick 3)

Imagick::getImageChannelStatisticsReturns statistics for each channel in the image

Description

public Imagick::getImageChannelStatistics(): array

Returns statistics for each channel in the image. The statistics include the channel depth, its minima and maxima, the mean, and the standard deviation.

Parameters

This function has no parameters.

Return Values

Returns true on success.

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