MagickCore
7.0.10
|
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 } |
#define MagickMaxBufferExtent 81920 |
Definition at line 25 of file blob.h.
Referenced by AcquireUniqueSymbolicLink(), ClonePixelCacheOnDisk(), CopyDelegateFile(), CustomStreamToImage(), FileToBlob(), FileToImage(), FileToXML(), ImagesToCustomStream(), ImageToCustomStream(), ImageToFile(), InjectImageBlob(), OpenBlob(), ReadBlob(), ReadPixelCacheMetacontent(), ReadPixelCachePixels(), ShredFile(), WriteBlob(), WritePixelCacheMetacontent(), and WritePixelCachePixels().
#define MagickMinBufferExtent 16384 |
Definition at line 26 of file blob.h.
Referenced by DiscardBlobBytes(), and SetStreamBuffering().
typedef ssize_t(* CustomStreamHandler) (unsigned char *, const size_t, void *) |
typedef struct _CustomStreamInfo CustomStreamInfo |
typedef MagickOffsetType(* CustomStreamSeeker) (const MagickOffsetType, const int, void *) |
typedef MagickOffsetType(* CustomStreamTeller) (void *) |
MagickExport CustomStreamInfo* AcquireCustomStreamInfo | ( | ExceptionInfo * | ) |
MagickExport MagickBooleanType BlobToFile | ( | char * | , |
const void * | , | ||
const size_t | , | ||
ExceptionInfo * | |||
) |
MagickExport Image* BlobToImage | ( | const ImageInfo * | , |
const void * | , | ||
const size_t | , | ||
ExceptionInfo * | |||
) |
MagickExport Image * CustomStreamToImage | ( | const ImageInfo * | , |
ExceptionInfo * | |||
) |
Definition at line 777 of file blob.c.
References AcquireQuantumMemory(), AcquireUniqueFileResource(), BlobError, CloneImageInfo(), CloseBlob(), CopyMagickString(), _ImageInfo::custom_stream, _CustomStreamInfo::data, _ImageInfo::debug, DestroyImageInfo(), _ImageInfo::file, _Image::filename, _ImageInfo::filename, FormatLocaleString(), GetFirstImageInList(), GetMagickBlobSupport(), GetMagickInfo(), GetMagickModule, GetNextImageInList(), LogMagickEvent(), _Image::magick, _ImageInfo::magick, _Image::magick_filename, MagickCoreSignature, MagickFalse, MagickMaxBufferExtent, MagickPathExtent, MissingDelegateError, _MagickInfo::name, _CustomStreamInfo::reader, ReadImage(), RelinquishMagickMemory(), RelinquishUniqueFileResource(), SetImageInfo(), _CustomStreamInfo::signature, _ImageInfo::signature, ThrowFileException, ThrowMagickException(), and TraceEvent.
MagickExport void DestroyBlob | ( | Image * | ) |
MagickExport CustomStreamInfo * DestroyCustomStreamInfo | ( | CustomStreamInfo * | ) |
Definition at line 995 of file blob.c.
References GetMagickModule, LogMagickEvent(), MagickCoreSignature, RelinquishMagickMemory(), _CustomStreamInfo::signature, and TraceEvent.
MagickExport void DuplicateBlob | ( | Image * | , |
const Image * | |||
) |
MagickExport void * FileToBlob | ( | const char * | , |
const size_t | , | ||
size_t * | , | ||
ExceptionInfo * | |||
) |
MagickExport MagickBooleanType FileToImage | ( | Image * | , |
const char * | , | ||
ExceptionInfo * | |||
) |
MagickExport MagickBooleanType GetBlobError | ( | const Image * | ) |
MagickExport FILE* GetBlobFileHandle | ( | const Image * | ) |
Definition at line 1747 of file blob.c.
References _Image::blob, FileInfo::file, _BlobInfo::file_info, MagickCoreSignature, and _Image::signature.
MagickExport MagickSizeType GetBlobSize | ( | const Image * | ) |
Definition at line 1844 of file blob.c.
References _Image::blob, BlobStream, BZipStream, CustomStream, _Image::debug, FifoStream, _Image::filename, FileStream, GetMagickModule, GetPathAttributes(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, PipeStream, _Image::signature, StandardStream, TraceEvent, UndefinedStream, and ZipStream.
Referenced by CloseBlob(), FxGetSymbol(), GetMagickProperty(), GetMagickPropertyLetter(), OpenBlob(), PreviewImage(), RenderHoughLines(), and ThumbnailImage().
MagickExport void* GetBlobStreamData | ( | const Image * | ) |
MagickExport StreamHandler GetBlobStreamHandler | ( | const Image * | ) |
Definition at line 1977 of file blob.c.
References _Image::blob, _Image::debug, _Image::filename, GetMagickModule, LogMagickEvent(), MagickCoreSignature, MagickFalse, _Image::signature, _BlobInfo::stream, and TraceEvent.
Referenced by QueueAuthenticPixelsStream(), and SyncAuthenticPixelsStream().
MagickExport void * ImagesToBlob | ( | const ImageInfo * | , |
Image * | , | ||
size_t * | , | ||
ExceptionInfo * | |||
) |
MagickExport void ImagesToCustomStream | ( | const ImageInfo * | , |
Image * | , | ||
ExceptionInfo * | |||
) |
MagickExport void * ImageToBlob | ( | const ImageInfo * | , |
Image * | , | ||
size_t * | , | ||
ExceptionInfo * | |||
) |
MagickExport void ImageToCustomStream | ( | const ImageInfo * | , |
Image * | , | ||
ExceptionInfo * | |||
) |
MagickExport MagickBooleanType ImageToFile | ( | Image * | , |
char * | , | ||
ExceptionInfo * | |||
) |
MagickExport MagickBooleanType InjectImageBlob | ( | const ImageInfo * | , |
Image * | , | ||
Image * | , | ||
const char * | , | ||
ExceptionInfo * | |||
) |
MagickExport MagickBooleanType IsBlobExempt | ( | const Image * | ) |
MagickExport MagickBooleanType IsBlobSeekable | ( | const Image * | ) |
MagickExport MagickBooleanType IsBlobTemporary | ( | const Image * | ) |
Definition at line 2967 of file blob.c.
References _Image::blob, _Image::debug, _Image::filename, GetMagickModule, LogMagickEvent(), MagickCoreSignature, MagickFalse, _Image::signature, _BlobInfo::temporary, and TraceEvent.
Referenced by ReadImage().
MagickExport Image * PingBlob | ( | const ImageInfo * | , |
const void * | , | ||
const size_t | , | ||
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 | |||
) |
Definition at line 5370 of file blob.c.
References MagickCoreSignature, _CustomStreamInfo::signature, and _CustomStreamInfo::writer.