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

Go to the source code of this file.

Macros

#define MagickMinBlobExtent   32767L
 

Enumerations

enum  BlobMode {
  UndefinedBlobMode , ReadBlobMode , ReadBinaryBlobMode , WriteBlobMode ,
  WriteBinaryBlobMode , AppendBlobMode , AppendBinaryBlobMode
}
 
enum  StreamType {
  UndefinedStream , FileStream , StandardStream , PipeStream ,
  ZipStream , BZipStream , FifoStream , BlobStream ,
  CustomStream
}
 

Functions

MagickExport BlobInfoCloneBlobInfo (const BlobInfo *)
 
MagickExport BlobInfoReferenceBlob (BlobInfo *)
 
MagickExport char * ReadBlobString (Image *, char *)
 
MagickExport const struct stat * GetBlobProperties (const Image *)
 
MagickExport const void * ReadBlobStream (Image *, const size_t, void *magick_restrict, ssize_t *) magick_hot_spot
 
MagickExport double ReadBlobDouble (Image *)
 
MagickExport float ReadBlobFloat (Image *)
 
MagickExport int EOFBlob (const Image *)
 
MagickExport int ErrorBlob (const Image *)
 
MagickExport int ReadBlobByte (Image *)
 
MagickExport MagickBooleanType CloseBlob (Image *)
 
MagickExport MagickBooleanType DiscardBlobBytes (Image *, const MagickSizeType)
 
MagickExport MagickBooleanType OpenBlob (const ImageInfo *, Image *, const BlobMode, ExceptionInfo *)
 
MagickExport MagickBooleanType SetBlobExtent (Image *, const MagickSizeType)
 
MagickExport MagickBooleanType UnmapBlob (void *, const size_t)
 
MagickExport MagickOffsetType SeekBlob (Image *, const MagickOffsetType, const int)
 
MagickExport MagickOffsetType TellBlob (const Image *)
 
MagickExport MagickSizeType ReadBlobLongLong (Image *)
 
MagickExport MagickSizeType ReadBlobMSBLongLong (Image *)
 
MagickExport signed int ReadBlobLSBSignedLong (Image *)
 
MagickExport signed int ReadBlobMSBSignedLong (Image *)
 
MagickExport signed int ReadBlobSignedLong (Image *)
 
MagickExport signed short ReadBlobLSBSignedShort (Image *)
 
MagickExport signed short ReadBlobMSBSignedShort (Image *)
 
MagickExport signed short ReadBlobSignedShort (Image *)
 
MagickExport ssize_t ReadBlob (Image *, const size_t, void *)
 
MagickExport ssize_t WriteBlob (Image *, const size_t, const void *)
 
MagickExport ssize_t WriteBlobByte (Image *, const unsigned char)
 
MagickExport ssize_t WriteBlobFloat (Image *, const float)
 
MagickExport ssize_t WriteBlobLong (Image *, const unsigned int)
 
MagickExport ssize_t WriteBlobLongLong (Image *, const MagickSizeType)
 
MagickExport ssize_t WriteBlobShort (Image *, const unsigned short)
 
MagickExport ssize_t WriteBlobSignedLong (Image *, const signed int)
 
MagickExport ssize_t WriteBlobLSBLong (Image *, const unsigned int)
 
MagickExport ssize_t WriteBlobLSBShort (Image *, const unsigned short)
 
MagickExport ssize_t WriteBlobLSBSignedLong (Image *, const signed int)
 
MagickExport ssize_t WriteBlobLSBSignedShort (Image *, const signed short)
 
MagickExport ssize_t WriteBlobMSBLong (Image *, const unsigned int)
 
MagickExport ssize_t WriteBlobMSBShort (Image *, const unsigned short)
 
MagickExport ssize_t WriteBlobMSBSignedShort (Image *, const signed short)
 
MagickExport ssize_t WriteBlobString (Image *, const char *)
 
MagickExport unsigned int ReadBlobLong (Image *)
 
MagickExport unsigned int ReadBlobLSBLong (Image *)
 
MagickExport unsigned int ReadBlobMSBLong (Image *)
 
MagickExport unsigned short ReadBlobShort (Image *)
 
MagickExport unsigned short ReadBlobLSBShort (Image *)
 
MagickExport unsigned short ReadBlobMSBShort (Image *)
 
MagickExport void AttachBlob (BlobInfo *, const void *, const size_t)
 
MagickExport void AttachCustomStream (BlobInfo *, CustomStreamInfo *)
 
MagickExport void * DetachBlob (BlobInfo *)
 
MagickExport void DisassociateBlob (Image *)
 
MagickExport void GetBlobInfo (BlobInfo *)
 
MagickExport void * MapBlob (int, const MapMode, const MagickOffsetType, const size_t)
 
MagickExport void MSBOrderLong (unsigned char *, const size_t)
 
MagickExport void MSBOrderShort (unsigned char *, const size_t)
 

Macro Definition Documentation

◆ MagickMinBlobExtent

#define MagickMinBlobExtent   32767L

Definition at line 29 of file blob-private.h.

Enumeration Type Documentation

◆ BlobMode

enum BlobMode
Enumerator
UndefinedBlobMode 
ReadBlobMode 
ReadBinaryBlobMode 
WriteBlobMode 
WriteBinaryBlobMode 
AppendBlobMode 
AppendBinaryBlobMode 

Definition at line 35 of file blob-private.h.

◆ StreamType

enum StreamType
Enumerator
UndefinedStream 
FileStream 
StandardStream 
PipeStream 
ZipStream 
BZipStream 
FifoStream 
BlobStream 
CustomStream 

Definition at line 46 of file blob-private.h.

Function Documentation

◆ AttachBlob()

MagickExport void AttachBlob ( BlobInfo ,
const void *  ,
const  size_t 
)

◆ AttachCustomStream()

MagickExport void AttachCustomStream ( BlobInfo ,
CustomStreamInfo  
)

◆ CloneBlobInfo()

MagickExport BlobInfo * CloneBlobInfo ( const BlobInfo )

Referenced by AcquireImage(), and CloneImage().

◆ CloseBlob()

◆ DetachBlob()

MagickExport void * DetachBlob ( BlobInfo )

◆ DisassociateBlob()

MagickExport void DisassociateBlob ( Image )

Referenced by DisassociateImageStream().

◆ DiscardBlobBytes()

MagickExport MagickBooleanType DiscardBlobBytes ( Image ,
const  MagickSizeType 
)

◆ EOFBlob()

MagickExport int EOFBlob ( const Image )

◆ ErrorBlob()

MagickExport int ErrorBlob ( const Image )

◆ GetBlobInfo()

MagickExport void GetBlobInfo ( BlobInfo )

◆ GetBlobProperties()

MagickExport const struct stat * GetBlobProperties ( const Image image)

◆ MapBlob()

MagickExport void * MapBlob ( int  ,
const  MapMode,
const  MagickOffsetType,
const  size_t 
)

◆ MSBOrderLong()

MagickExport void MSBOrderLong ( unsigned char *  ,
const  size_t 
)

◆ MSBOrderShort()

MagickExport void MSBOrderShort ( unsigned char *  p,
const  size_t 
)

Definition at line 3141 of file blob.c.

◆ OpenBlob()

MagickExport MagickBooleanType OpenBlob ( const ImageInfo ,
Image ,
const  BlobMode,
ExceptionInfo  
)

◆ ReadBlob()

MagickExport ssize_t ReadBlob ( Image ,
const  size_t,
void *   
)

Referenced by SetImageInfo().

◆ ReadBlobByte()

◆ ReadBlobDouble()

MagickExport double ReadBlobDouble ( Image image)

Definition at line 4024 of file blob.c.

References ReadBlobLongLong().

◆ ReadBlobFloat()

MagickExport float ReadBlobFloat ( Image image)

Definition at line 4063 of file blob.c.

References ReadBlobLong().

◆ ReadBlobLong()

MagickExport unsigned int ReadBlobLong ( Image )

◆ ReadBlobLongLong()

MagickExport MagickSizeType ReadBlobLongLong ( Image )

◆ ReadBlobLSBLong()

MagickExport unsigned int ReadBlobLSBLong ( Image )

◆ ReadBlobLSBShort()

MagickExport unsigned short ReadBlobLSBShort ( Image )

◆ ReadBlobLSBSignedLong()

MagickExport signed int ReadBlobLSBSignedLong ( Image )

◆ ReadBlobLSBSignedShort()

MagickExport signed short ReadBlobLSBSignedShort ( Image )

◆ ReadBlobMSBLong()

MagickExport unsigned int ReadBlobMSBLong ( Image image)

Definition at line 4454 of file blob.c.

References MagickCoreSignature, ReadBlobStream(), and _Image::signature.

Referenced by ReadBlobMSBSignedLong().

◆ ReadBlobMSBLongLong()

MagickExport MagickSizeType ReadBlobMSBLongLong ( Image image)

Definition at line 4504 of file blob.c.

References MagickCoreSignature, MagickULLConstant, ReadBlobStream(), and _Image::signature.

◆ ReadBlobMSBShort()

MagickExport unsigned short ReadBlobMSBShort ( Image image)

Definition at line 4558 of file blob.c.

References MagickCoreSignature, ReadBlobStream(), and _Image::signature.

Referenced by ReadBlobMSBSignedShort().

◆ ReadBlobMSBSignedLong()

MagickExport signed int ReadBlobMSBSignedLong ( Image )

◆ ReadBlobMSBSignedShort()

MagickExport signed short ReadBlobMSBSignedShort ( Image )

◆ ReadBlobShort()

MagickExport unsigned short ReadBlobShort ( Image )

◆ ReadBlobSignedLong()

MagickExport signed int ReadBlobSignedLong ( Image image)

Definition at line 4682 of file blob.c.

References ReadBlobLong().

◆ ReadBlobSignedShort()

MagickExport signed short ReadBlobSignedShort ( Image image)

Definition at line 4720 of file blob.c.

References ReadBlobShort().

◆ ReadBlobStream()

MagickExport const void * ReadBlobStream ( Image ,
const  size_t,
void *  magick_restrict,
ssize_t *   
)

◆ ReadBlobString()

MagickExport char * ReadBlobString ( Image image,
char *  string 
)

Definition at line 4828 of file blob.c.

References MagickCoreSignature, MagickPathExtent, ReadBlobByte(), and _Image::signature.

◆ ReferenceBlob()

◆ SeekBlob()

MagickExport MagickOffsetType SeekBlob ( Image ,
const  MagickOffsetType,
const int   
)

Referenced by SetImageInfo().

◆ SetBlobExtent()

MagickExport MagickBooleanType SetBlobExtent ( Image ,
const  MagickSizeType 
)

◆ TellBlob()

◆ UnmapBlob()

◆ WriteBlob()

MagickExport ssize_t WriteBlob ( Image ,
const  size_t,
const void *   
)

Referenced by Ascii85Flush(), and WriteStreamImage().

◆ WriteBlobByte()

MagickExport ssize_t WriteBlobByte ( Image ,
const unsigned char   
)

◆ WriteBlobFloat()

MagickExport ssize_t WriteBlobFloat ( Image ,
const float   
)

◆ WriteBlobLong()

MagickExport ssize_t WriteBlobLong ( Image ,
const unsigned int   
)

◆ WriteBlobLongLong()

MagickExport ssize_t WriteBlobLongLong ( Image ,
const  MagickSizeType 
)

◆ WriteBlobLSBLong()

MagickExport ssize_t WriteBlobLSBLong ( Image ,
const unsigned int   
)

◆ WriteBlobLSBShort()

MagickExport ssize_t WriteBlobLSBShort ( Image ,
const unsigned short   
)

◆ WriteBlobLSBSignedLong()

MagickExport ssize_t WriteBlobLSBSignedLong ( Image ,
const signed int   
)

◆ WriteBlobLSBSignedShort()

MagickExport ssize_t WriteBlobLSBSignedShort ( Image ,
const signed short   
)

◆ WriteBlobMSBLong()

MagickExport ssize_t WriteBlobMSBLong ( Image ,
const unsigned int   
)

◆ WriteBlobMSBShort()

MagickExport ssize_t WriteBlobMSBShort ( Image ,
const unsigned short   
)

◆ WriteBlobMSBSignedShort()

MagickExport ssize_t WriteBlobMSBSignedShort ( Image ,
const signed short   
)

◆ WriteBlobShort()

MagickExport ssize_t WriteBlobShort ( Image ,
const unsigned short   
)

◆ WriteBlobSignedLong()

MagickExport ssize_t WriteBlobSignedLong ( Image ,
const signed int   
)

◆ WriteBlobString()

MagickExport ssize_t WriteBlobString ( Image image,
const char *  string 
)

Definition at line 6440 of file blob.c.

References MagickCoreSignature, _Image::signature, and WriteBlobStream().