Imagick::tintImage

(no version information, might be only in CVS)

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

Description

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

Waarschuwing

Deze functie is op het moment niet gedocumenteerd, alleen de lijst met argumenten is beschikbaar.

Waarschuwing

Deze module is EXPERIMENTEEL. Dat betekent, dat het gedrag van deze functies, deze functienamen, in concreto ALLES dat hier gedocumenteerd is in een toekomstige uitgave van PHP ZONDER WAARSCHUWING kan veranderen. Wees gewaarschuwd, en gebruik deze module op eigen risico.

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)))).

Parameters

tint

Its description

opacity

Its description

Return Values

Returns TRUE on success, throws ImagickException on failure.