W3cubDocs

/PHP

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.

Return Values

Returns true on success.

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