Enums¶
- Colord.ClientError
- Colord.ColorBlackbodyFlags
- Colord.Colorspace
- Colord.DeviceError
- Colord.DeviceKind
- Colord.DeviceMode
- Colord.DeviceRelation
- Colord.IccError
- Colord.IccSaveFlags
- Colord.It8Error
- Colord.It8Kind
- Colord.ObjectScope
- Colord.ProfileError
- Colord.ProfileKind
- Colord.ProfileQuality
- Colord.ProfileWarning
- Colord.RenderingIntent
- Colord.SensorCap
- Colord.SensorError
- Colord.SensorKind
- Colord.SensorState
- Colord.StandardSpace
Details¶
- 
class Colord.ClientError(value)¶
- Bases: - GLib.Enum- Errors that can be thrown - 
INTERNAL= 0¶
- An internal error occurred 
 - 
ALREADY_EXISTS= 1¶
- The profile already exists 
 - 
FAILED_TO_AUTHENTICATE= 2¶
- Authentication failed 
 - 
NOT_SUPPORTED= 3¶
- Feature not supported 
 - 
NOT_FOUND= 4¶
- Profile or device not found 
 - 
INPUT_INVALID= 5¶
- One or more of the parameters is invalid 
 - 
FILE_INVALID= 6¶
- The file if invalid 
 
- 
- 
class Colord.ColorBlackbodyFlags(value)¶
- Bases: - GLib.Enum- Flags used when returning an RGB color from a temperature. - New in version 1.3.5. - 
NONE= 0¶
- No flags set. 
 - 
USE_PLANCKIAN= 1¶
- Use Planckian below 5000K 
 
- 
- 
class Colord.Colorspace(value)¶
- Bases: - GLib.Enum- The known colorspace. - 
UNKNOWN= 0¶
 - 
XYZ= 1¶
 - 
CMY= 10¶
 - 
LAB= 2¶
 - 
LUV= 3¶
 - 
YCBCR= 4¶
 - 
YXY= 5¶
 - 
RGB= 6¶
 - 
GRAY= 7¶
 - 
HSV= 8¶
 - 
CMYK= 9¶
 
- 
- 
class Colord.DeviceError(value)¶
- Bases: - GLib.Enum- Errors that can be thrown - 
INTERNAL= 0¶
- An internal error occurred 
 - 
PROFILE_DOES_NOT_EXIST= 1¶
- The profile does not exist 
 - 
PROFILE_ALREADY_ADDED= 2¶
- The profile has already been added 
 - 
PROFILING= 3¶
- The device is being profiled 
 - 
NOTHING_MATCHED= 4¶
- Nothing matched the search term 
 - 
FAILED_TO_INHIBIT= 5¶
- Cound not inhibit device 
 - 
FAILED_TO_UNINHIBIT= 6¶
- Cound not uninhibit device 
 - 
FAILED_TO_AUTHENTICATE= 7¶
- Authentication failed 
 - 
NOT_ENABLED= 8¶
- The device has been disabled 
 
- 
- 
class Colord.DeviceKind(value)¶
- Bases: - GLib.Enum- The device type. - 
UNKNOWN= 0¶
 - 
DISPLAY= 1¶
 - 
SCANNER= 2¶
 - 
PRINTER= 3¶
 - 
CAMERA= 4¶
 - 
WEBCAM= 5¶
 
- 
- 
class Colord.DeviceMode(value)¶
- Bases: - GLib.Enum- The device mode. - 
UNKNOWN= 0¶
 - 
PHYSICAL= 1¶
 - 
VIRTUAL= 2¶
 
- 
- 
class Colord.DeviceRelation(value)¶
- Bases: - GLib.Enum- The device to profile relationship. - 
UNKNOWN= 0¶
 - 
SOFT= 1¶
 - 
HARD= 2¶
 
- 
- 
class Colord.IccError(value)¶
- Bases: - GLib.Enum- The ICC error code. - 
FAILED_TO_OPEN= 0¶
- Failed to open file 
 - 
FAILED_TO_PARSE= 1¶
- Failed to parse data 
 - 
INVALID_LOCALE= 2¶
- Locale was invalid 
 - 
NO_DATA= 3¶
- No data to read 
 - 
FAILED_TO_SAVE= 4¶
- Failed to save file 
 - 
FAILED_TO_CREATE= 5¶
- Failed to create file 
 - 
INVALID_COLORSPACE= 6¶
- Invalid colorspace 
 - 
CORRUPTION_DETECTED= 7¶
- Corruption has been detected 
 - 
INTERNAL= 8¶
- Something inside LCMS broke 
 
- 
- 
class Colord.IccSaveFlags(value)¶
- Bases: - GLib.Enum- Flags used when saving an ICC profile. - New in version 0.1.32. - 
NONE= 0¶
- No flags set. 
 
- 
- 
class Colord.It8Error(value)¶
- Bases: - GLib.Enum- Errors that can be thrown - 
FAILED= 0¶
- the transaction failed for an unknown reason 
 - 
INVALID_FORMAT= 1¶
 - 
UNKNOWN_KIND= 2¶
 
- 
- 
class Colord.It8Kind(value)¶
- Bases: - GLib.Enum- The kind of IT8 file. - 
UNKNOWN= 0¶
 - 
TI1= 1¶
 - 
TI3= 2¶
 - 
CCMX= 3¶
 - 
CAL= 4¶
 - 
CCSS= 5¶
 - 
SPECT= 6¶
 - 
CMF= 7¶
 
- 
- 
class Colord.ObjectScope(value)¶
- Bases: - GLib.Enum- The options type. - 
UNKNOWN= 0¶
 - 
NORMAL= 1¶
 - 
TEMP= 2¶
 - 
DISK= 3¶
 
- 
- 
class Colord.ProfileError(value)¶
- Bases: - GLib.Enum- Errors that can be thrown - 
INTERNAL= 0¶
- An internal error occurred 
 - 
ALREADY_INSTALLED= 1¶
- The profile is already installed 
 - 
FAILED_TO_WRITE= 2¶
- The profile could not be written 
 - 
FAILED_TO_PARSE= 3¶
- The profile could not be parsed 
 - 
FAILED_TO_READ= 4¶
- The profile could not be read 
 - 
FAILED_TO_AUTHENTICATE= 5¶
- Authentication failed 
 - 
PROPERTY_INVALID= 6¶
- One or more of the properties was invalid 
 - 
FAILED_TO_GET_UID= 7¶
- Failed to get UID for sender 
 
- 
- 
class Colord.ProfileKind(value)¶
- Bases: - GLib.Enum- The profile type. - 
UNKNOWN= 0¶
 - 
INPUT_DEVICE= 1¶
 - 
DISPLAY_DEVICE= 2¶
 - 
OUTPUT_DEVICE= 3¶
 - 
DEVICELINK= 4¶
 - 
COLORSPACE_CONVERSION= 5¶
 - 
ABSTRACT= 6¶
 - 
NAMED_COLOR= 7¶
 
- 
- 
class Colord.ProfileQuality(value)¶
- Bases: - GLib.Enum- The quality of the profile produced through calibration. - 
LOW= 0¶
- Low quality profile, fast 
 - 
MEDIUM= 1¶
- Medium quality profile 
 - 
HIGH= 2¶
- High quality profile, slow 
 
- 
- 
class Colord.ProfileWarning(value)¶
- Bases: - GLib.Enum- The warning about the profile. Profiles with warnings can still be used, but may be of limited use. - 
NONE= 0¶
- No error is found 
 - 
DESCRIPTION_MISSING= 1¶
- The description is missing or of zero length 
 - 
WHITEPOINT_INVALID= 10¶
- RGB 255,255,255 does not return D50 
 - 
WHITEPOINT_UNLIKELY= 11¶
- Whitepoint is outside of usual range 
 - 
COPYRIGHT_MISSING= 2¶
- The copyright is missing or of zero length 
 - 
VCGT_NON_MONOTONIC= 3¶
- The video card gamma table is not monotonic 
 - 
SCUM_DOT= 4¶
- Lab 100, 0, 0 does not map to RGB 255,255,255 
 - 
GRAY_AXIS_INVALID= 5¶
- There is significant a/b for gray 
 - 
GRAY_AXIS_NON_MONOTONIC= 6¶
- The gray ramp is not monotonic 
 - 
PRIMARIES_INVALID= 7¶
- One or more of the primaries are invalid 
 - 
PRIMARIES_NON_ADDITIVE= 8¶
- The primaries to not add to give D50 white 
 - 
PRIMARIES_UNLIKELY= 9¶
- One or more of the primaries are outside of ROMM RGB 
 
- 
- 
class Colord.RenderingIntent(value)¶
- Bases: - GLib.Enum- The rendering intent. - 
UNKNOWN= 0¶
- Unknown rendering intent 
 - 
PERCEPTUAL= 1¶
- Used for photos as it maintains contrast 
 - 
RELATIVE_COLORIMETRIC= 2¶
- Used for graphic design and named colors 
 - 
SATURATION= 3¶
- Used for business charts as it maintains saturation without dithering 
 - 
ABSOLUTE_COLORIMETRIC= 4¶
- Used when a specific color is required 
 
- 
- 
class Colord.SensorCap(value)¶
- Bases: - GLib.Enum- The sensor capabilities, i.e. things the sensor can do. - 
UNKNOWN= 0¶
 - 
LCD= 1¶
 - 
LCD_CCFL= 10¶
 - 
LCD_RGB_LED= 11¶
 - 
LCD_WHITE_LED= 12¶
 - 
WIDE_GAMUT_LCD_CCFL= 13¶
 - 
WIDE_GAMUT_LCD_RGB_LED= 14¶
 - 
SPECTRAL= 15¶
 - 
CALIBRATION_DARK= 16¶
 - 
CALIBRATION_IRRADIANCE= 17¶
 - 
CRT= 2¶
 - 
PRINTER= 3¶
 - 
SPOT= 4¶
 - 
PROJECTOR= 5¶
 - 
AMBIENT= 6¶
 - 
CALIBRATION= 7¶
 - 
LED= 8¶
 - 
PLASMA= 9¶
 
- 
- 
class Colord.SensorError(value)¶
- Bases: - GLib.Enum- The sensor error code. - New in version 0.1.26. - 
NO_SUPPORT= 0¶
- This action is unsupported on this hardware 
 - 
NO_DATA= 1¶
- The sensor provided no data 
 - 
REQUIRED_IRRADIANCE_CALIBRATION= 10¶
- The sensor needs irradiance calibration 
 - 
INTERNAL= 2¶
- An internal error occurred 
 - 
ALREADY_LOCKED= 3¶
- The sensor is already locked 
 - 
NOT_LOCKED= 4¶
- The sensor is not locked 
 - 
IN_USE= 5¶
- The sensor is already in use 
 - 
FAILED_TO_AUTHENTICATE= 6¶
- Authentication failed 
 - 
REQUIRED_POSITION_CALIBRATE= 7¶
- The sensor needs to be in the calibrate position 
 - 
REQUIRED_POSITION_SURFACE= 8¶
- The sensor needs to be in the surface position 
 - 
REQUIRED_DARK_CALIBRATION= 9¶
- The sensor needs dark calibration 
 
- 
- 
class Colord.SensorKind(value)¶
- Bases: - GLib.Enum- The sensor type. - 
UNKNOWN= 0¶
 - 
DUMMY= 1¶
 - 
SPECTRO_SCAN= 10¶
 - 
I1_PRO= 11¶
 - 
COLORIMTRE_HCFR= 12¶
 - 
I1_DISPLAY3= 13¶
 - 
COLORHUG= 14¶
 - 
SPYDER2= 15¶
 - 
SPYDER3= 16¶
 - 
COLORHUG_PLUS= 17¶
 - 
I1_DISPLAY1= 18¶
 - 
I1_DISPLAY2= 19¶
 - 
HUEY= 2¶
 - 
DTP92= 20¶
 - 
I1_MONITOR= 21¶
 - 
SPYDER4= 22¶
 - 
COLOR_MUNKI_SMILE= 23¶
 - 
COLORHUG2= 24¶
 - 
SPYDER5= 25¶
 - 
SPARK= 26¶
 - 
SPYDERX= 27¶
 - 
COLOR_MUNKI_PHOTO= 3¶
 - 
SPYDER= 4¶
 - 
DTP20= 5¶
 - 
DTP22= 6¶
 - 
DTP41= 7¶
 - 
DTP51= 8¶
 - 
DTP94= 9¶
 
-