1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
module dmagick.c.colorspace;
import dmagick.c.image;
import dmagick.c.magickType;
extern(C)
{
enum ColorspaceType
{
UndefinedColorspace,
RGBColorspace,
GRAYColorspace,
TransparentColorspace,
OHTAColorspace,
LabColorspace,
XYZColorspace,
YCbCrColorspace,
YCCColorspace,
YIQColorspace,
YPbPrColorspace,
YUVColorspace,
CMYKColorspace,
sRGBColorspace,
HSBColorspace,
HSLColorspace,
HWBColorspace,
Rec601LumaColorspace,
Rec601YCbCrColorspace,
Rec709LumaColorspace,
Rec709YCbCrColorspace,
LogColorspace,
CMYColorspace
}
MagickBooleanType RGBTransformImage(Image*, const ColorspaceType);
MagickBooleanType SetImageColorspace(Image*, const ColorspaceType);
MagickBooleanType TransformImageColorspace(Image*, const ColorspaceType);
MagickBooleanType TransformRGBImage(Image*, const ColorspaceType);
}
|