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

Description

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

Den här funktionen är ännu inte dokumenterad utan endast argumentlistan till funktioner finns tillgänglig.

Warning

Den här funktionen är EXPERIMENTELL. Dess beteende, namnet på den, och allt annat dokumenterat om den här funktionen kan ändras i framtida utgåvar av PHP. Använd den på egen risk.

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

opacity

Return Values

Returns TRUE on success.