18#ifndef MAGICKCORE_STREAM_H
19#define MAGICKCORE_STREAM_H
21#if defined(__cplusplus) || defined(c_plusplus)
25#include "MagickCore/pixel.h"
31 (*StreamHandler)(
const Image *,
const void *,
const size_t);
33extern MagickExport Image
34 *ReadStream(
const ImageInfo *,StreamHandler,ExceptionInfo *),
35 *StreamImage(
const ImageInfo *,StreamInfo *,ExceptionInfo *);
37extern MagickExport MagickBooleanType
38 OpenStream(
const ImageInfo *,StreamInfo *,
const char *,ExceptionInfo *),
39 WriteStream(
const ImageInfo *,Image *,StreamHandler,ExceptionInfo *);
41extern MagickExport StreamInfo
42 *AcquireStreamInfo(
const ImageInfo *,ExceptionInfo *),
43 *DestroyStreamInfo(StreamInfo *);
45extern MagickExport
void
46 SetStreamInfoMap(StreamInfo *,
const char *),
47 SetStreamInfoStorageType(StreamInfo *,
const StorageType);
49#if defined(__cplusplus) || defined(c_plusplus)