1 module dmagick.c.constitute;
2 
3 import dmagick.c.exception;
4 import dmagick.c.image;
5 import dmagick.c.magickType;
6 import dmagick.c.magickVersion;
7 
8 extern(C)
9 {
10 	/**
11 	 * The size of a pixel component.
12 	 */
13 	enum StorageType
14 	{
15 		UndefinedPixel, ///
16 		CharPixel,      /// ditto
17 		DoublePixel,    /// ditto
18 		FloatPixel,     /// ditto
19 		IntegerPixel,   /// ditto
20 		LongPixel,      /// ditto
21 		QuantumPixel,   /// ditto
22 		ShortPixel      /// ditto
23 	}
24 
25 	Image* ConstituteImage(const size_t, const size_t, const(char)*, const StorageType, const(void)*, ExceptionInfo*);
26 	Image* PingImage(const(ImageInfo)*, ExceptionInfo*);
27 	Image* PingImages(const(ImageInfo)*, ExceptionInfo*);
28 	Image* ReadImage(const(ImageInfo)*, ExceptionInfo*);
29 	Image* ReadImages(const(ImageInfo)*, ExceptionInfo*);
30 	Image* ReadInlineImage(const(ImageInfo)*, const(char)*, ExceptionInfo*);
31 
32 
33 	static if ( MagickLibVersion < 0x689 )
34 	{
35 		MagickBooleanType ConstituteComponentGenesis();
36 	}
37 	MagickBooleanType WriteImage(const(ImageInfo)*, Image*);
38 	MagickBooleanType WriteImages(const(ImageInfo)*, Image*, const(char)*, ExceptionInfo*);
39 
40 	static if ( MagickLibVersion < 0x689 )
41 	{
42 		void ConstituteComponentTerminus();
43 	}
44 }