Page 1 of 1

Tint effect

Posted: 2009-11-05T05:05:22-07:00
by varghese
hi i am working in Imagick version 2.2.2. Tint is not working for the below code. Pleasehelp me to achieve the tint effect
$pmImage = "images/source.jpg";
$vHandle = fopen(trim($pmImage), 'rb');
$vImagickSource = new Imagick();
$vImagickSource->readImageFile($vHandle);
$vSource = $vImagickSource;
$vSource->tintImage("#FF0000",0.3);
$vSource->writeImage("tint.jpg");
$vSource->clear();
Source -> http://picasaweb.google.com/togytvarghe ... 5907956066
Result -> http://picasaweb.google.com/togytvarghe ... 1590632930
expected->http://picasaweb.google.com/togytvarghe ... 1600408290