Forum und email

Imagick::tintImage

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

Imagick::tintImage — Applies a color vector to each pixel in the image

Beschreibung

bool Imagick::tintImage ( ImagickPixel $tint , ImagickPixel $opacity )
Warnung

Diese Funktion ist bis jetzt nicht dokumentiert. Es steht nur die Liste der Argumente zur Verfügung.

Warnung

Diese Funktion ist EXPERIMENTELL. Das Verhalten, der Funktionsname und alles Andere was hier dokumentiert ist, kann sich in zukünftigen PHP-Versionen ohne Ankündigung ändern. Seien Sie gewarnt und verwenden Sie diese Funktion auf eigenes Risiko.

Applies a color vector to each pixel in the image. The length of the vector is 0 for black and white and at its maximum for the midtones. The vector weighing function is f(x)=(1-(4.0*((x-0.5)*(x-0.5)))).

Parameter Liste

tint

opacity

Rückgabewerte

Returns TRUE on success.