MagickCore  6.9.2
colorspace.h
Go to the documentation of this file.
1 /*
2  Copyright 1999-2016 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.
6  obtain a copy of the License at
7 
8  http://www.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 {
28  RGBColorspace, /* Linear RGB colorspace */
29  GRAYColorspace, /* greyscale (linear) image (faked 1 channel) */
39  CMYKColorspace, /* negated linear RGB with black separated */
40  sRGBColorspace, /* Default: non-linear sRGB colorspace */
49  CMYColorspace, /* negated linear RGB colorspace */
52  LCHColorspace, /* alias for LCHuv */
54  LCHabColorspace, /* Cylindrical (Polar) Lab */
55  LCHuvColorspace, /* Cylindrical (Polar) Luv */
58  HSVColorspace, /* alias for HSB */
63 
71 
72 #if defined(__cplusplus) || defined(c_plusplus)
73 }
74 #endif
75 
76 #endif
Definition: colorspace.h:44
Definition: colorspace.h:36
Definition: colorspace.h:40
Definition: colorspace.h:45
Definition: colorspace.h:33
Definition: exception.h:102
Definition: colorspace.h:59
Definition: colorspace.h:41
Definition: colorspace.h:37
Definition: colorspace.h:58
Definition: colorspace.h:50
Definition: colorspace.h:47
Definition: colorspace.h:31
Definition: colorspace.h:35
MagickExport MagickBooleanType RGBTransformImage(Image *, const ColorspaceType)
Definition: colorspace.h:48
Definition: image.h:152
Definition: colorspace.h:52
MagickExport MagickBooleanType SetImageMonochrome(Image *, ExceptionInfo *)
Definition: colorspace.h:61
Definition: colorspace.h:43
MagickExport MagickBooleanType TransformRGBImage(Image *, const ColorspaceType)
Definition: colorspace.c:1578
Definition: colorspace.h:34
Definition: colorspace.h:57
MagickBooleanType
Definition: magick-type.h:211
Definition: colorspace.h:38
Definition: colorspace.h:30
Definition: colorspace.h:54
MagickExport MagickBooleanType SetImageGray(Image *, ExceptionInfo *)
Definition: colorspace.h:55
Definition: colorspace.h:39
MagickExport MagickBooleanType TransformImageColorspace(Image *, const ColorspaceType)
Definition: colorspace.h:46
Definition: colorspace.h:49
Definition: colorspace.h:53
Definition: colorspace.h:28
Definition: colorspace.h:56
ColorspaceType
Definition: colorspace.h:25
Definition: colorspace.h:29
Definition: colorspace.h:42
Definition: colorspace.h:51
Definition: colorspace.h:32
#define MagickExport
Definition: method-attribute.h:98
Definition: colorspace.h:60
MagickExport MagickBooleanType SetImageColorspace(Image *, const ColorspaceType)
Definition: colorspace.h:27