MagickCore 7.1.0
Convert, Edit, Or Compose Bitmap Images
blob.h File Reference
Include dependency graph for blob.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MagickMaxBufferExtent   81920
 
#define MagickMinBufferExtent   16384
 

Typedefs

typedef ssize_t(* CustomStreamHandler) (unsigned char *, const size_t, void *)
 
typedef MagickOffsetType(* CustomStreamSeeker) (const MagickOffsetType, const int, void *)
 
typedef MagickOffsetType(* CustomStreamTeller) (void *)
 
typedef struct _CustomStreamInfo CustomStreamInfo
 

Enumerations

enum  MapMode { ReadMode , WriteMode , IOMode , PersistMode }
 

Functions

MagickExport CustomStreamInfoAcquireCustomStreamInfo (ExceptionInfo *)
 
MagickExport CustomStreamInfoDestroyCustomStreamInfo (CustomStreamInfo *)
 
MagickExport FILE * GetBlobFileHandle (const Image *) magick_attribute((__pure__))
 
MagickExport ImageBlobToImage (const ImageInfo *, const void *, const size_t, ExceptionInfo *)
 
MagickExport ImagePingBlob (const ImageInfo *, const void *, const size_t, ExceptionInfo *)
 
MagickExport ImageCustomStreamToImage (const ImageInfo *, ExceptionInfo *)
 
MagickExport MagickBooleanType BlobToFile (char *, const void *, const size_t, ExceptionInfo *)
 
MagickExport MagickBooleanType FileToImage (Image *, const char *, ExceptionInfo *)
 
MagickExport MagickBooleanType GetBlobError (const Image *) magick_attribute((__pure__))
 
MagickExport MagickBooleanType ImageToFile (Image *, char *, ExceptionInfo *)
 
MagickExport MagickBooleanType InjectImageBlob (const ImageInfo *, Image *, Image *, const char *, ExceptionInfo *)
 
MagickExport MagickBooleanType IsBlobExempt (const Image *) magick_attribute((__pure__))
 
MagickExport MagickBooleanType IsBlobSeekable (const Image *) magick_attribute((__pure__))
 
MagickExport MagickBooleanType IsBlobTemporary (const Image *) magick_attribute((__pure__))
 
MagickExport MagickSizeType GetBlobSize (const Image *)
 
MagickExport StreamHandler GetBlobStreamHandler (const Image *) magick_attribute((__pure__))
 
MagickExport void * GetBlobStreamData (const Image *) magick_attribute((__pure__))
 
MagickExport void DestroyBlob (Image *)
 
MagickExport void DuplicateBlob (Image *, const Image *)
 
MagickExport void * FileToBlob (const char *, const size_t, size_t *, ExceptionInfo *)
 
MagickExport void * ImageToBlob (const ImageInfo *, Image *, size_t *, ExceptionInfo *)
 
MagickExport void ImageToCustomStream (const ImageInfo *, Image *, ExceptionInfo *)
 
MagickExport void * ImagesToBlob (const ImageInfo *, Image *, size_t *, ExceptionInfo *)
 
MagickExport void ImagesToCustomStream (const ImageInfo *, Image *, ExceptionInfo *)
 
MagickExport void SetBlobExempt (Image *, const MagickBooleanType)
 
MagickExport void SetCustomStreamData (CustomStreamInfo *, void *)
 
MagickExport void SetCustomStreamReader (CustomStreamInfo *, CustomStreamHandler)
 
MagickExport void SetCustomStreamSeeker (CustomStreamInfo *, CustomStreamSeeker)
 
MagickExport void SetCustomStreamTeller (CustomStreamInfo *, CustomStreamTeller)
 
MagickExport void SetCustomStreamWriter (CustomStreamInfo *, CustomStreamHandler)
 

Macro Definition Documentation

◆ MagickMaxBufferExtent

#define MagickMaxBufferExtent   81920

Definition at line 25 of file blob.h.

◆ MagickMinBufferExtent

#define MagickMinBufferExtent   16384

Definition at line 26 of file blob.h.

Typedef Documentation

◆ CustomStreamHandler

typedef ssize_t(* CustomStreamHandler) (unsigned char *, const size_t, void *)

Definition at line 36 of file blob.h.

◆ CustomStreamInfo

Definition at line 46 of file blob.h.

◆ CustomStreamSeeker

typedef MagickOffsetType(* CustomStreamSeeker) (const MagickOffsetType, const int, void *)

Definition at line 39 of file blob.h.

◆ CustomStreamTeller

typedef MagickOffsetType(* CustomStreamTeller) (void *)

Definition at line 42 of file blob.h.

Enumeration Type Documentation

◆ MapMode

enum MapMode
Enumerator
ReadMode 
WriteMode 
IOMode 
PersistMode 

Definition at line 28 of file blob.h.

Function Documentation

◆ AcquireCustomStreamInfo()

MagickExport CustomStreamInfo * AcquireCustomStreamInfo ( ExceptionInfo )

◆ BlobToFile()

MagickExport MagickBooleanType BlobToFile ( char *  ,
const void *  ,
const  size_t,
ExceptionInfo  
)

◆ BlobToImage()

MagickExport Image * BlobToImage ( const ImageInfo ,
const void *  ,
const  size_t,
ExceptionInfo  
)

◆ CustomStreamToImage()

◆ DestroyBlob()

MagickExport void DestroyBlob ( Image )

◆ DestroyCustomStreamInfo()

◆ DuplicateBlob()

MagickExport void DuplicateBlob ( Image ,
const Image  
)

◆ FileToBlob()

MagickExport void * FileToBlob ( const char *  ,
const  size_t,
size_t *  ,
ExceptionInfo  
)

◆ FileToImage()

MagickExport MagickBooleanType FileToImage ( Image ,
const char *  ,
ExceptionInfo  
)

◆ GetBlobError()

MagickExport MagickBooleanType GetBlobError ( const Image )

◆ GetBlobFileHandle()

MagickExport FILE * GetBlobFileHandle ( const Image image)

◆ GetBlobSize()

◆ GetBlobStreamData()

MagickExport void * GetBlobStreamData ( const Image )

◆ GetBlobStreamHandler()

◆ ImagesToBlob()

MagickExport void * ImagesToBlob ( const ImageInfo ,
Image ,
size_t *  ,
ExceptionInfo  
)

◆ ImagesToCustomStream()

MagickExport void ImagesToCustomStream ( const ImageInfo ,
Image ,
ExceptionInfo  
)

◆ ImageToBlob()

MagickExport void * ImageToBlob ( const ImageInfo ,
Image ,
size_t *  ,
ExceptionInfo  
)

◆ ImageToCustomStream()

MagickExport void ImageToCustomStream ( const ImageInfo ,
Image ,
ExceptionInfo  
)

◆ ImageToFile()

MagickExport MagickBooleanType ImageToFile ( Image ,
char *  ,
ExceptionInfo  
)

◆ InjectImageBlob()

MagickExport MagickBooleanType InjectImageBlob ( const ImageInfo ,
Image ,
Image ,
const char *  ,
ExceptionInfo  
)

◆ IsBlobExempt()

MagickExport MagickBooleanType IsBlobExempt ( const Image )

◆ IsBlobSeekable()

MagickExport MagickBooleanType IsBlobSeekable ( const Image )

◆ IsBlobTemporary()

◆ PingBlob()

MagickExport Image * PingBlob ( const ImageInfo ,
const void *  ,
const  size_t,
ExceptionInfo  
)

◆ SetBlobExempt()

MagickExport void SetBlobExempt ( Image ,
const  MagickBooleanType 
)

◆ SetCustomStreamData()

MagickExport void SetCustomStreamData ( CustomStreamInfo ,
void *   
)

◆ SetCustomStreamReader()

MagickExport void SetCustomStreamReader ( CustomStreamInfo ,
CustomStreamHandler   
)

◆ SetCustomStreamSeeker()

MagickExport void SetCustomStreamSeeker ( CustomStreamInfo ,
CustomStreamSeeker   
)

◆ SetCustomStreamTeller()

MagickExport void SetCustomStreamTeller ( CustomStreamInfo ,
CustomStreamTeller   
)

◆ SetCustomStreamWriter()

MagickExport void SetCustomStreamWriter ( CustomStreamInfo custom_stream,
CustomStreamHandler  writer 
)