To composite images i use:
Code: Select all
$canvas->compositeimage($image, Imagick::COMPOSITE_MULTIPLY, 10, 150);
How to use that with blend mode "Linear-dodge"?
Code: Select all
$canvas->compositeimage($image, Imagick::COMPOSITE_MULTIPLY, 10, 150);
This is the specific forum dedicated to Imagickgormonn wrote:sorry, misunderstood
Code: Select all
$cmd = convert '.$result.' img/ach/mozg4.png -compose linear-dodge -define compose:args=100,0 -composite img.png';
exec($cmd);
Hmm... ok, Thank you! i'l try it!fmw42 wrote:According to http://www.imagemagick.org/Usage/compose/#lineardodge, it is the same as -compose plus, except for partially transparent pixels.
That will choose one or the other image. So it will do nothing useful. You would have to use some mix, such as 50,50.-define compose:args=100,0