blob -
Image * BlobToImage( const ImageInfo *image_info, const void *blob, const size_t length, ExceptionInfo *exception );
void DestroyBlobInfo( BlobInfo *blob );
void GetBlobInfo( BlobInfo *blob );
void * ImageToBlob( const ImageInfo *image_info, Image *image, size_t *length, ExceptionInfo *exception );
void SetBlobQuantum( BlobInfo *blob, const size_t quantum );
Method BlobToImage implements direct to memory image formats. It returns the blob as an image.
The format of the BlobToImage method is:
Image *BlobToImage ( const ImageInfo *image_info, const void *blob, const size_t length, ExceptionInfo *exception );
A description of each parameter follows:
Method DestroyBlobInfo deallocates memory associated with an BlobInfo structure.
The format of the DestroyBlobInfo method is:
void DestroyBlobInfo ( BlobInfo *blob );
A description of each parameter follows:
Method GetBlobInfo initializes the BlobInfo structure.
The format of the GetBlobInfo method is:
void GetBlobInfo ( BlobInfo *blob );
A description of each parameter follows:
Method ImageToBlob implements direct to memory image formats. It returns the image as a blob and its length. The magick member of the Image structure determines the format of the returned blob (GIG, JPEG, PNG, etc.).
The format of the ImageToBlob method is:
void *ImageToBlob ( const ImageInfo *image_info, Image *image, size_t *length, ExceptionInfo *exception );
A description of each parameter follows:
Method SetBlobQuantum set the current value of the blob quantum. This is the size in bytes to add to a blob when writing to a blob exceeds its current length.
The format of the SetBlobQuantum method is:
void SetBlobQuantum ( BlobInfo *blob, const size_t quantum );
A description of each parameter follows: