File indexing completed on 2025-01-30 10:11:41
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018 #ifndef MAGICKCORE_COLORSPACE_H
0019 #define MAGICKCORE_COLORSPACE_H
0020
0021 #if defined(__cplusplus) || defined(c_plusplus)
0022 extern "C" {
0023 #endif
0024
0025 typedef enum
0026 {
0027 UndefinedColorspace,
0028 CMYColorspace,
0029 CMYKColorspace,
0030 GRAYColorspace,
0031 HCLColorspace,
0032 HCLpColorspace,
0033 HSBColorspace,
0034 HSIColorspace,
0035 HSLColorspace,
0036 HSVColorspace,
0037 HWBColorspace,
0038 LabColorspace,
0039 LCHColorspace,
0040 LCHabColorspace,
0041 LCHuvColorspace,
0042 LogColorspace,
0043 LMSColorspace,
0044 LuvColorspace,
0045 OHTAColorspace,
0046 Rec601YCbCrColorspace,
0047 Rec709YCbCrColorspace,
0048 RGBColorspace,
0049 scRGBColorspace,
0050 sRGBColorspace,
0051 TransparentColorspace,
0052 xyYColorspace,
0053 XYZColorspace,
0054 YCbCrColorspace,
0055 YCCColorspace,
0056 YDbDrColorspace,
0057 YIQColorspace,
0058 YPbPrColorspace,
0059 YUVColorspace,
0060 LinearGRAYColorspace,
0061 JzazbzColorspace,
0062 DisplayP3Colorspace,
0063 Adobe98Colorspace,
0064 ProPhotoColorspace,
0065 OklabColorspace,
0066 OklchColorspace
0067 } ColorspaceType;
0068
0069 extern MagickExport ColorspaceType
0070 GetImageColorspaceType(const Image *,ExceptionInfo *);
0071
0072 extern MagickExport MagickBooleanType
0073 SetImageColorspace(Image *,const ColorspaceType,ExceptionInfo *),
0074 SetImageGray(Image *,ExceptionInfo *),
0075 SetImageMonochrome(Image *,ExceptionInfo *),
0076 TransformImageColorspace(Image *,const ColorspaceType,ExceptionInfo *);
0077
0078 #if defined(__cplusplus) || defined(c_plusplus)
0079 }
0080 #endif
0081
0082 #endif