Imagick::getImageExtrema

(PECL imagick 2, PECL imagick 3)

Imagick::getImageExtremaGets the extrema for the image

警告

此函數在 Imagick 3.4.4 中被 廢棄,強烈建議不要應用此函數。

說明

public Imagick::getImageExtrema(): array

Gets the extrema for the image. Returns an associative array with the keys "min" and "max".

參數

此函數沒有參數。

返回值

Returns an associative array with the keys "min" and "max".

錯誤/異常

錯誤時拋出 ImagickException。