Can magickwand work with php image resources?

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.
Post Reply
mordisko

Can magickwand work with php image resources?

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Can magickwand work with php image resources?

Post by magick »

See http://www.magickwand.org/MagickReadImageBlob.html. Also take a look at Imagick, another PHP interface to ImageMagick.
mordisko

Re: Can magickwand work with php image resources?

Post 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.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Can magickwand work with php image resources?

Post by magick »

You might want to post to a PHP discussion forum somewhere. This forum is limited to discussions specifically about MagickWand for PHP.
Post Reply