Where do we start?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Posts: 2970
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Post by Bonzo » 2006-09-12T14:07:16-07:00

If you intened on using ImageMagick with php I have some examples on my site.


To use these examples you will need to know where ImageMagick is installed; mine is /usr/local/bin/

Then just try something out like ( note the folder must be CHMOD to 777 ) the code below. The test image wants to be in the same folder as the page with the code.

Code: Select all

exec("/usr/local/bin/convert -raise 5x5 test.jpg result.jpg");
<img src="result.jpg">
What do you intend to do with ImageMagick anway ?

User avatar
Posts: 8882
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Post by anthony » 2006-09-12T21:58:01-07:00

Double check that what ever user the "PM Premium" stuff runs as (probably runs as 'nobody' on the web unless it SUID's to some special user), can access and run the IM stuff. Also check the error log from the web server or any special error logs that PM premium has, and see if it has more details on the error, such as "command not found" or something else.

Web work can be tricky becuase the wbe needs to be so secure they often run in a specia l envioronment different to ordinary users, they can have command path and library problems.

Speak with your system administrators.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages

Post Reply