MagickEchoImageBlob- want to output this alongside HTML

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
sambessey
Posts: 22
Joined: 2008-01-04T18:26:40-07:00

MagickEchoImageBlob- want to output this alongside HTML

Post by sambessey » 2008-01-04T18:28:45-07:00

Hi

I am trying to blob the image being held in memory (after processing) as part of an HTML page, but I cannot get it to work as it is expecting the doctype to be image/gif when it is in fact HTML. All I get is either the image and no HTML, or HTML and junk where the image should be.

This is the problematic line:
PHP Code:
MagickEchoImageBlob( $resource );
There must be a solution for this, but having searched high and low, I cannot find one?!

Thanks

Post Reply