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 » 2008-09-01T11:59:51-07:00

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: 11066
Joined: 2003-05-31T11:32:55-07:00

Re: Can magickwand work with php image resources?

Post by magick » 2008-09-01T12:10:08-07:00

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 » 2008-09-01T12:17:10-07:00

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: 11066
Joined: 2003-05-31T11:32:55-07:00

Re: Can magickwand work with php image resources?

Post by magick » 2008-09-01T12:39:01-07:00

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

Post Reply