1 module dmagick.c.stream;
2 
3 import dmagick.c.exception;
4 import dmagick.c.image;
5 import dmagick.c.magickType;
6 
7 extern(C)
8 {
9 	alias size_t function(const(Image)*, const(void)*, const size_t) StreamHandler;
10 
11 	Image* ReadStream(const(ImageInfo)*, StreamHandler, ExceptionInfo*);
12 
13 	MagickBooleanType WriteStream(const(ImageInfo)*, Image*, StreamHandler);
14 }