MagickCore
7.0.11
colorspace.h
Go to the documentation of this file.
1
/*
2
Copyright 1999-2021 ImageMagick Studio LLC, a non-profit organization
3
dedicated to making software imaging solutions freely available.
4
5
You may not use this file except in compliance with the License. You may
6
obtain a copy of the License at
7
8
https://imagemagick.org/script/license.php
9
10
Unless required by applicable law or agreed to in writing, software
11
distributed under the License is distributed on an "AS IS" BASIS,
12
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
See the License for the specific language governing permissions and
14
limitations under the License.
15
16
MagickCore image colorspace methods.
17
*/
18
#ifndef MAGICKCORE_COLORSPACE_H
19
#define MAGICKCORE_COLORSPACE_H
20
21
#if defined(__cplusplus) || defined(c_plusplus)
22
extern
"C"
{
23
#endif
24
25
typedef
enum
26
{
27
UndefinedColorspace
,
28
CMYColorspace
,
/* negated linear RGB colorspace */
29
CMYKColorspace
,
/* CMY with Black separation */
30
GRAYColorspace
,
/* Single Channel greyscale (non-linear) image */
31
HCLColorspace
,
32
HCLpColorspace
,
33
HSBColorspace
,
34
HSIColorspace
,
35
HSLColorspace
,
36
HSVColorspace
,
/* alias for HSB */
37
HWBColorspace
,
38
LabColorspace
,
39
LCHColorspace
,
/* alias for LCHuv */
40
LCHabColorspace
,
/* Cylindrical (Polar) Lab */
41
LCHuvColorspace
,
/* Cylindrical (Polar) Luv */
42
LogColorspace
,
43
LMSColorspace
,
44
LuvColorspace
,
45
OHTAColorspace
,
46
Rec601YCbCrColorspace
,
47
Rec709YCbCrColorspace
,
48
RGBColorspace
,
/* Linear RGB colorspace */
49
scRGBColorspace
,
/* ??? */
50
sRGBColorspace
,
/* Default: non-linear sRGB colorspace */
51
TransparentColorspace
,
52
xyYColorspace
,
53
XYZColorspace
,
/* IEEE Color Reference colorspace */
54
YCbCrColorspace
,
55
YCCColorspace
,
56
YDbDrColorspace
,
57
YIQColorspace
,
58
YPbPrColorspace
,
59
YUVColorspace
,
60
LinearGRAYColorspace
,
/* Single Channel greyscale (linear) image */
61
JzazbzColorspace
,
62
DisplayP3Colorspace
,
63
Adobe98Colorspace
,
64
ProPhotoColorspace
65
}
ColorspaceType
;
66
67
extern
MagickExport
ColorspaceType
68
GetImageColorspaceType
(
const
Image
*,
ExceptionInfo
*);
69
70
extern
MagickExport
MagickBooleanType
71
SetImageColorspace
(
Image
*,
const
ColorspaceType
,
ExceptionInfo
*),
72
SetImageGray
(
Image
*,
ExceptionInfo
*),
73
SetImageMonochrome
(
Image
*,
ExceptionInfo
*),
74
TransformImageColorspace
(
Image
*,
const
ColorspaceType
,
ExceptionInfo
*);
75
76
#if defined(__cplusplus) || defined(c_plusplus)
77
}
78
#endif
79
80
#endif
YIQColorspace
Definition:
colorspace.h:57
sRGBColorspace
Definition:
colorspace.h:50
Rec601YCbCrColorspace
Definition:
colorspace.h:46
XYZColorspace
Definition:
colorspace.h:53
_ExceptionInfo
Definition:
exception.h:101
HCLpColorspace
Definition:
colorspace.h:32
HSBColorspace
Definition:
colorspace.h:33
YPbPrColorspace
Definition:
colorspace.h:58
HSVColorspace
Definition:
colorspace.h:36
LuvColorspace
Definition:
colorspace.h:44
Rec709YCbCrColorspace
Definition:
colorspace.h:47
OHTAColorspace
Definition:
colorspace.h:45
YCCColorspace
Definition:
colorspace.h:55
GetImageColorspaceType
MagickExport ColorspaceType GetImageColorspaceType(const Image *, ExceptionInfo *)
Definition:
colorspace.c:120
LogColorspace
Definition:
colorspace.h:42
_Image
Definition:
image.h:151
LCHColorspace
Definition:
colorspace.h:39
SetImageMonochrome
MagickExport MagickBooleanType SetImageMonochrome(Image *, ExceptionInfo *)
xyYColorspace
Definition:
colorspace.h:52
HWBColorspace
Definition:
colorspace.h:37
YCbCrColorspace
Definition:
colorspace.h:54
HSIColorspace
Definition:
colorspace.h:34
MagickBooleanType
MagickBooleanType
Definition:
magick-type.h:169
YUVColorspace
Definition:
colorspace.h:59
TransparentColorspace
Definition:
colorspace.h:51
LCHabColorspace
Definition:
colorspace.h:40
SetImageGray
MagickExport MagickBooleanType SetImageGray(Image *, ExceptionInfo *)
LCHuvColorspace
Definition:
colorspace.h:41
Adobe98Colorspace
Definition:
colorspace.h:63
CMYKColorspace
Definition:
colorspace.h:29
ProPhotoColorspace
Definition:
colorspace.h:64
CMYColorspace
Definition:
colorspace.h:28
LMSColorspace
Definition:
colorspace.h:43
RGBColorspace
Definition:
colorspace.h:48
SetImageColorspace
MagickExport MagickBooleanType SetImageColorspace(Image *, const ColorspaceType, ExceptionInfo *)
DisplayP3Colorspace
Definition:
colorspace.h:62
scRGBColorspace
Definition:
colorspace.h:49
ColorspaceType
ColorspaceType
Definition:
colorspace.h:25
GRAYColorspace
Definition:
colorspace.h:30
HSLColorspace
Definition:
colorspace.h:35
HCLColorspace
Definition:
colorspace.h:31
LinearGRAYColorspace
Definition:
colorspace.h:60
LabColorspace
Definition:
colorspace.h:38
MagickExport
#define MagickExport
Definition:
method-attribute.h:80
YDbDrColorspace
Definition:
colorspace.h:56
UndefinedColorspace
Definition:
colorspace.h:27
JzazbzColorspace
Definition:
colorspace.h:61
TransformImageColorspace
MagickExport MagickBooleanType TransformImageColorspace(Image *, const ColorspaceType, ExceptionInfo *)
Definition:
colorspace.c:1593
home
cristy
ImageMagick-7
MagickCore
colorspace.h
Generated by
1.8.14