Page 1 of 1

Reading from URL (php stream)

Posted: 2007-03-18T18:42:58-07:00
by zerbat
I need to read images from URLs (that means streams for PHP). While the C API provides reading of remote images with MagickReadImage($ressource, $url), the PHP counterpart doesn't accept URLs as a second parameter. There is the function MagickReadImageFile, but as shown in the the source this function hasn't been implemented up to MagickWand for PHP 1.0.2.

I would really love to see such a function in MagickWand for PHP. Then I could finally switch to MagickWand from imagick - a switch I'm eager to make because MagickWand is much more powerful than imagick.