Forum und email

Imagick::levelImage

(No version information available, might be only in CVS)

Imagick::levelImage — Adjusts the levels of an image

Descrierea

bool Imagick::levelImage ( float $blackPoint , float $gamma , float $whitePoint [, int $channel ] )
Avertizare

Această funcţie nu este documentată în prezent; este disponibilă numai lista de argumente.

Avertizare

Această funcţie este EXPERIMENTALĂ. Comportamentul acestei funcţii, denumirea sa şi orice alte aspecte documentate în privinţa acestei funcţii pot să fie modificate fără preaviz într-o versiune viitoare a PHP. Utilizaţi această funcţie la propriul risc.

Adjusts the levels of an image by scaling the colors falling between specified white and black points to the full available quantum range. The parameters provided represent the black, mid, and white points. The black point specifies the darkest color in the image. Colors darker than the black point are set to zero. Mid point specifies a gamma correction to apply to the image. White point specifies the lightest color in the image. Colors brighter than the white point are set to the maximum quantum value.

Parametri

blackPoint

gamma

whitePoint

channel

Valorile întroarse

Întoarce TRUE în caz de succes.