File indexing completed on 2025-01-30 10:11:45
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018 #ifndef MAGICKCORE_STREAM_H
0019 #define MAGICKCORE_STREAM_H
0020
0021 #if defined(__cplusplus) || defined(c_plusplus)
0022 extern "C" {
0023 #endif
0024
0025 #include "MagickCore/pixel.h"
0026
0027 typedef struct _StreamInfo
0028 StreamInfo;
0029
0030 typedef size_t
0031 (*StreamHandler)(const Image *,const void *,const size_t);
0032
0033 extern MagickExport Image
0034 *ReadStream(const ImageInfo *,StreamHandler,ExceptionInfo *),
0035 *StreamImage(const ImageInfo *,StreamInfo *,ExceptionInfo *);
0036
0037 extern MagickExport MagickBooleanType
0038 OpenStream(const ImageInfo *,StreamInfo *,const char *,ExceptionInfo *),
0039 WriteStream(const ImageInfo *,Image *,StreamHandler,ExceptionInfo *);
0040
0041 extern MagickExport StreamInfo
0042 *AcquireStreamInfo(const ImageInfo *,ExceptionInfo *),
0043 *DestroyStreamInfo(StreamInfo *);
0044
0045 extern MagickExport void
0046 SetStreamInfoMap(StreamInfo *,const char *),
0047 SetStreamInfoStorageType(StreamInfo *,const StorageType);
0048
0049 #if defined(__cplusplus) || defined(c_plusplus)
0050 }
0051 #endif
0052
0053 #endif