Imagick::tintImage
(No version information available, might be only in CVS)
Imagick::tintImage — Applies a color vector to each pixel in the image
Popis
bool Imagick::tintImage
( ImagickPixel $tint
, ImagickPixel $opacity
)
Warning
Táto funkcia nie je momentálne zdokumentovaná; je dostupný len zoznam argumentov.
Warning
Táto funkcia je EXPERIMENTÁLNA. Správanie tejto funkcie, názov tejto funkcie a hocičo iné zdokumentované o tejto funkcii sa môže zmeniť bez povšimnutia v budúcom vydaní PHP. Používajte túto funkcii na svoje vlastné riziko.
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)))).
Parametre
- tint
-
- opacity
-
Vrátené hodnoty
Returns TRUE on success.