Prev
MagickWand For PHP
Manual


Next

MagickEchoImagesBlob

MagickEchoImagesBlob -- outputs the current active image sequence to stdout as a BLOB

Description

bool MagickEchoImagesBlob( MagickWand mgck_wnd )

Outputs the BLOB (Binary Large OBject) of the combined image sequence of the MagickWand to stdout, which on the web whould be the user's browser. The format of the FIRST image in the MagickWand determines the format of the returned blob (GIF, JPEG, PNG, etc.). To output the image sequence's BLOB in a different image format, use MagickSetImageFormat() on the first image: MagickSetImageIndex( $mgck_wnd, 0 ); MagickSetImageFormat( $mgck_wnd, 'GIF' ); Returns TRUE on success, FALSE if an error occurred. NOTE: Some image formats do not permit multi-image (multi-frame) images (e.g. JPEG). In this instance, just the first image of the sequence is output as a BLOB.


A description of each parameter follows:

mgck_wnd A MagickWand resource


Prev
MagickEchoImageBlob
Up Next
MagickEdgeImage