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

说明

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

本函数暂无文档,仅有参数列表。

Warning

本函数是实验性的。本函数的行为,包括函数名称以及其它任何关于本函数的文档可能会在没有通知的情况下随 PHP 以后的发布而改变。使用本函数风险自担。

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

参数

tint

opacity

返回值

Returns TRUE on success.