to Imagemagick PHP exec

Posted by Erik Smith on Stack Overflow See other posts from Stack Overflow or by Erik Smith
Published on 2010-04-06T04:38:30Z Indexed on 2010/04/06 4:43 UTC
Read the original article Hit count: 397

Filed under:
|
|

I found a very helpful post on here about cropping images in a circle. However, when I try to execute the imagemagick script using exec in PHP, I'm getting no results. I've checked to make sure the directories have the correct permissions and such. Is there a step I'm missing?

Any insight would be much appreciated. Here's what my script looks like:

$run = exec('convert -size 200x200 xc:none -fill daisy.jpg -draw "circle 100,100 100,1" uploads/new.png');

Edit: Imagemagick is installed.

© Stack Overflow or respective owner

Related posts about php

Related posts about exec