I have a big problem. I have a task where I am requested to transform some command-line imagick calls to PHP api calls and I got really stuck.
Can someone please help me with the following line of code:
Code: Select all
exec("convert {$tmpdir}/tmp.png -matte \( +clone -matte -virtual-pixel transparent -channel RGBA -motion-blur 0x{$radius}+90 \) -compose DstIn -composite {$tmpdir}/shadow.png");
Thank you in advance.