Forum und email

Imagick::levelImage

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

Imagick::levelImage — Adjusts the levels of an image

Descripción

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

Esta función no está documentada actualmente, solamente se encuentra disponible la lista de parámetros.

Warning

Esta función es EXPERIMENTAL. Esto significa que el comportamiento de esta función, el nombre de esta función y en definitiva TODO lo documentado sobre esta función, puede cambiar en una futura version de PHP SIN AVISO. La advertencia queda hecha, y utilizar esta extensión queda bajo su propia responsabilidad.

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.

Lista de parámetros

blackPoint

gamma

whitePoint

channel

Valores retornados

Returns TRUE on success.