I am attempting to change the size of an image with imageMagick, using the exec() function in php. I am doing the mogrify command:
mogrify -density 72x72 -geometry 80x80! filename.jpg
When I do this, nothing happens.
I figure it is a permissions problem because if I do it as a normal user from the command line I get the following error:
mogrify: Unable to open file (8magicUBTNPO) [Permission denied]
So it would seem it might be a temporary file that the permissions are having trouble with.
Any help would be nice. Thanks