magickwand remote operations

MagickWand for PHP is an object-oriented PHP interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning MagickWand for PHP.

magickwand remote operations

Postby sonny » 2009-11-04T14:38:59+00:00

Hi all, I am trying to crop images from a remote server, but get the error below;

Fatal error: magickreadimage(): C API cannot read the format "http://www.remotehost.com/jobs/job112/bg2.JPG" (reason: no data returned `http:/www. remotehost.com/jobs/job112/bg2.JPG') [on C source line 217] in /var/www/html/projects/sp/myUsefulFunctions.class.php on line 1618

Any ideas what could be restricting access, i know the code is good because it works on local files.
sonny
 
Posts: 1
Joined: 2009-11-04T14:18:59+00:00

Re: magickwand remote operations

Postby magick » 2009-11-04T18:48:33+00:00

MagickWand for PHP has security restrictions that prevent images from being read with the HTTP protocol. Now that we have configurable security policies in ImageMagick., there is no longer a need for hard-coded restrictions in MagickWand for PHP. In the mean-time, try iMagick. Perhaps that PHP API permits the HTTP protocol.
User avatar
magick
Site Admin
 
Posts: 5671
Joined: 2003-05-31T11:32:55+00:00


Return to MagickWand for PHP

Who is online

Users browsing this forum: No registered users and 1 guest