How to do composite and Inverse transparency in php?
Posted: 2015-05-28T02:28:57-07:00
Hi everyone,
This question already been answer but I wanna take this a little further. viewtopic.php?f=1&t=27712
I want to do these thing in PHP Imagemagick but have no idea.
Got 3 image below, layer1.png, layer2.png and result.png repsectively.
How could I produce the result (it is layer2 over layer1, but I got stuck at the end, when cutting the transparency).
Important note: the layer 1 could be white as well, the grey is transparency.
Thank in advance, any advise will be appreciate
This question already been answer but I wanna take this a little further. viewtopic.php?f=1&t=27712
I want to do these thing in PHP Imagemagick but have no idea.
Got 3 image below, layer1.png, layer2.png and result.png repsectively.
How could I produce the result (it is layer2 over layer1, but I got stuck at the end, when cutting the transparency).
Important note: the layer 1 could be white as well, the grey is transparency.
Thank in advance, any advise will be appreciate