MagickCore 7.1.0
Convert, Edit, Or Compose Bitmap Images
|
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 } |
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 * | image_info, |
ExceptionInfo * | exception | ||
) |
Definition at line 778 of file blob.c.
References AcquireQuantumMemory(), AcquireUniqueFileResource(), BlobError, CloneImageInfo(), CloseBlob(), CopyMagickString(), _ImageInfo::custom_stream, _CustomStreamInfo::data, DestroyImageInfo(), _ImageInfo::file, _Image::filename, _ImageInfo::filename, FormatLocaleString(), GetFirstImageInList(), GetMagickBlobSupport(), GetMagickInfo(), GetMagickModule, GetNextImageInList(), IsEventLogging(), 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 * | custom_stream | ) |
Definition at line 996 of file blob.c.
References GetMagickModule, IsEventLogging(), LogMagickEvent(), MagickCoreSignature, MagickFalse, 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 * | image | ) |
Definition at line 1751 of file blob.c.
References _Image::blob, FileInfo::file, _BlobInfo::file_info, MagickCoreSignature, and _Image::signature.
MagickExport MagickSizeType GetBlobSize | ( | const Image * | image | ) |
Definition at line 1848 of file blob.c.
References _Image::blob, BlobStream, BZipStream, CustomStream, FifoStream, _Image::filename, FileStream, GetMagickModule, GetPathAttributes(), IsEventLogging(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, PipeStream, _Image::signature, StandardStream, TraceEvent, UndefinedStream, and ZipStream.
Referenced by CloseBlob(), GetMagickProperty(), GetMagickPropertyLetter(), ImageStat(), OpenBlob(), PreviewImage(), RenderHoughLines(), and ThumbnailImage().
MagickExport void * GetBlobStreamData | ( | const Image * | ) |
MagickExport StreamHandler GetBlobStreamHandler | ( | const Image * | image | ) |
Definition at line 1981 of file blob.c.
References _Image::blob, _Image::filename, GetMagickModule, IsEventLogging(), 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 * | image | ) |
Definition at line 2966 of file blob.c.
References _Image::blob, _Image::filename, GetMagickModule, IsEventLogging(), 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 * | custom_stream, |
CustomStreamHandler | writer | ||
) |
Definition at line 5366 of file blob.c.
References MagickCoreSignature, _CustomStreamInfo::signature, and _CustomStreamInfo::writer.