Translate command-line call to Imagick method calls
Posted: 2010-11-24T09:01:22-07:00
Hello,
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:
How can this call be best converted to a series of Imagick method calls?
Thank you in advance.
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.