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

Post by sonny »

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 "" (reason: no data returned `http:/www.') [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.

User avatar
Site Admin
Posts: 11254
Joined: 2003-05-31T11:32:55-07:00

Re: magickwand remote operations

Post by magick »

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.