MagickCore 7.1.0
Convert, Edit, Or Compose Bitmap Images
|
#include "MagickCore/image.h"
#include "MagickCore/stream.h"
#include "MagickCore/nt-base-private.h"
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 } |
#define MagickMinBlobExtent 32767L |
Definition at line 29 of file blob-private.h.
enum BlobMode |
Enumerator | |
---|---|
UndefinedBlobMode | |
ReadBlobMode | |
ReadBinaryBlobMode | |
WriteBlobMode | |
WriteBinaryBlobMode | |
AppendBlobMode | |
AppendBinaryBlobMode |
Definition at line 35 of file blob-private.h.
enum StreamType |
Enumerator | |
---|---|
UndefinedStream | |
FileStream | |
StandardStream | |
PipeStream | |
ZipStream | |
BZipStream | |
FifoStream | |
BlobStream | |
CustomStream |
Definition at line 46 of file blob-private.h.
MagickExport void AttachBlob | ( | BlobInfo * | , |
const void * | , | ||
const | size_t | ||
) |
MagickExport void AttachCustomStream | ( | BlobInfo * | , |
CustomStreamInfo * | |||
) |
MagickExport BlobInfo * CloneBlobInfo | ( | const BlobInfo * | ) |
Referenced by AcquireImage(), and CloneImage().
MagickExport MagickBooleanType CloseBlob | ( | Image * | ) |
Referenced by DestroyStreamInfo(), ReadImage(), RenderHoughLines(), SetImageInfo(), and WriteImage().
MagickExport void * DetachBlob | ( | BlobInfo * | ) |
MagickExport void DisassociateBlob | ( | Image * | ) |
Referenced by DisassociateImageStream().
MagickExport MagickBooleanType DiscardBlobBytes | ( | Image * | , |
const | MagickSizeType | ||
) |
MagickExport int EOFBlob | ( | const Image * | ) |
MagickExport int ErrorBlob | ( | const Image * | ) |
MagickExport void GetBlobInfo | ( | BlobInfo * | ) |
MagickExport const struct stat * GetBlobProperties | ( | const Image * | image | ) |
Definition at line 1816 of file blob.c.
References _Image::blob, _Image::filename, GetMagickModule, IsEventLogging(), LogMagickEvent(), MagickCoreSignature, MagickFalse, _BlobInfo::properties, _Image::signature, and TraceEvent.
Referenced by ReadImage().
MagickExport void * MapBlob | ( | int | , |
const | MapMode, | ||
const | MagickOffsetType, | ||
const | size_t | ||
) |
MagickExport void MSBOrderLong | ( | unsigned char * | , |
const | size_t | ||
) |
MagickExport void MSBOrderShort | ( | unsigned char * | p, |
const | size_t | ||
) |
MagickExport MagickBooleanType OpenBlob | ( | const ImageInfo * | , |
Image * | , | ||
const | BlobMode, | ||
ExceptionInfo * | |||
) |
Referenced by OpenStream(), ReadImage(), RenderHoughLines(), SetImageInfo(), and WriteImage().
MagickExport ssize_t ReadBlob | ( | Image * | , |
const | size_t, | ||
void * | |||
) |
Referenced by SetImageInfo().
MagickExport int ReadBlobByte | ( | Image * | image | ) |
Definition at line 3955 of file blob.c.
References _Image::blob, FileStream, magick_restrict, MagickCoreSignature, PipeStream, ReadBlobStream(), _Image::signature, StandardStream, _BlobInfo::type, and UndefinedStream.
Referenced by ReadBlobString().
MagickExport double ReadBlobDouble | ( | Image * | image | ) |
Definition at line 4024 of file blob.c.
References ReadBlobLongLong().
MagickExport float ReadBlobFloat | ( | Image * | image | ) |
Definition at line 4063 of file blob.c.
References ReadBlobLong().
MagickExport unsigned int ReadBlobLong | ( | Image * | ) |
MagickExport MagickSizeType ReadBlobLongLong | ( | Image * | ) |
MagickExport unsigned int ReadBlobLSBLong | ( | Image * | ) |
MagickExport unsigned short ReadBlobLSBShort | ( | Image * | ) |
MagickExport signed int ReadBlobLSBSignedLong | ( | Image * | ) |
MagickExport signed short ReadBlobLSBSignedShort | ( | Image * | ) |
MagickExport unsigned int ReadBlobMSBLong | ( | Image * | image | ) |
Definition at line 4454 of file blob.c.
References MagickCoreSignature, ReadBlobStream(), and _Image::signature.
Referenced by ReadBlobMSBSignedLong().
MagickExport MagickSizeType ReadBlobMSBLongLong | ( | Image * | image | ) |
Definition at line 4504 of file blob.c.
References MagickCoreSignature, MagickULLConstant, ReadBlobStream(), and _Image::signature.
MagickExport unsigned short ReadBlobMSBShort | ( | Image * | image | ) |
Definition at line 4558 of file blob.c.
References MagickCoreSignature, ReadBlobStream(), and _Image::signature.
Referenced by ReadBlobMSBSignedShort().
MagickExport signed int ReadBlobMSBSignedLong | ( | Image * | ) |
MagickExport signed short ReadBlobMSBSignedShort | ( | Image * | ) |
MagickExport unsigned short ReadBlobShort | ( | Image * | ) |
MagickExport signed int ReadBlobSignedLong | ( | Image * | image | ) |
Definition at line 4682 of file blob.c.
References ReadBlobLong().
MagickExport signed short ReadBlobSignedShort | ( | Image * | image | ) |
Definition at line 4720 of file blob.c.
References ReadBlobShort().
MagickExport const void * ReadBlobStream | ( | Image * | , |
const | size_t, | ||
void * | magick_restrict, | ||
ssize_t * | |||
) |
MagickExport char * ReadBlobString | ( | Image * | image, |
char * | string | ||
) |
Definition at line 4828 of file blob.c.
References MagickCoreSignature, MagickPathExtent, ReadBlobByte(), and _Image::signature.
MagickExport BlobInfo * ReferenceBlob | ( | BlobInfo * | blob | ) |
Definition at line 4882 of file blob.c.
References GetMagickModule, IsEventLogging(), LockSemaphoreInfo(), LogMagickEvent(), MagickCoreSignature, MagickFalse, _BlobInfo::reference_count, _BlobInfo::semaphore, _BlobInfo::signature, TraceEvent, and UnlockSemaphoreInfo().
Referenced by AcquireNextImage(), CloneImage(), DuplicateBlob(), and SyncNextImageInList().
MagickExport MagickOffsetType SeekBlob | ( | Image * | , |
const | MagickOffsetType, | ||
const int | |||
) |
Referenced by SetImageInfo().
MagickExport MagickBooleanType SetBlobExtent | ( | Image * | , |
const | MagickSizeType | ||
) |
MagickExport MagickOffsetType TellBlob | ( | const Image * | image | ) |
Definition at line 5470 of file blob.c.
References _Image::blob, BlobStream, BZipStream, CustomStream, FifoStream, _Image::filename, FileStream, GetMagickModule, IsEventLogging(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, PipeStream, _Image::signature, StandardStream, TraceEvent, _BlobInfo::type, UndefinedStream, and ZipStream.
Referenced by SeekBlob().
MagickExport MagickBooleanType UnmapBlob | ( | void * | map, |
const | size_t | ||
) |
Definition at line 5549 of file blob.c.
References MagickFalse, and MagickTrue.
Referenced by ConfigureFileToStringInfo(), DestroyBlob(), DestroyMagickMemory(), DestroyMatrixInfo(), DetachBlob(), FileToBlob(), FileToXML(), RelinquishCacheNexusPixels(), RelinquishPixelCachePixels(), RelinquishStreamPixels(), RelinquishVirtualMemory(), and SetBlobExtent().
MagickExport ssize_t WriteBlob | ( | Image * | , |
const | size_t, | ||
const void * | |||
) |
Referenced by Ascii85Flush(), and WriteStreamImage().
MagickExport ssize_t WriteBlobByte | ( | Image * | , |
const unsigned char | |||
) |
Referenced by Ascii85Encode(), Ascii85Flush(), HuffmanEncodeImage(), LZWEncodeImage(), and PackbitsEncodeImage().
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 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 WriteBlobShort | ( | Image * | , |
const unsigned short | |||
) |
MagickExport ssize_t WriteBlobSignedLong | ( | Image * | , |
const signed int | |||
) |
MagickExport ssize_t WriteBlobString | ( | Image * | image, |
const char * | string | ||
) |
Definition at line 6440 of file blob.c.
References MagickCoreSignature, _Image::signature, and WriteBlobStream().