Page 1 of 1

Can magickwand work with php image resources?

Posted: 2008-09-01T11:59:51-07:00
by mordisko
Hello there! i'm on a serious problem and i can't find anything in the documentation so i guess the answer is no.

Is there a way to modify an image resource already opened with php (via imagejpeg() for example) with magickwand? i see you can open images from files, but i can't find a way to do this.

If there is, can you explain me how or what documentation page should i read?

Please, if any one can help me... help me!! :lol:
Thanks in advance

Re: Can magickwand work with php image resources?

Posted: 2008-09-01T12:10:08-07:00
by magick
See http://www.magickwand.org/MagickReadImageBlob.html. Also take a look at Imagick, another PHP interface to ImageMagick.

Re: Can magickwand work with php image resources?

Posted: 2008-09-01T12:17:10-07:00
by mordisko
And how can i extract the blob from a php resource? if i try to use imagejpeg to do it i get the output of the image and the following code does not do anything.

Re: Can magickwand work with php image resources?

Posted: 2008-09-01T12:39:01-07:00
by magick
You might want to post to a PHP discussion forum somewhere. This forum is limited to discussions specifically about MagickWand for PHP.