The pixel format of an image. NOTE: these values are the same as the lcms2 AOTTTTTUYFPXSEEECCCCBBB type. Creates a new #CdClient object. a new CdClient object. Converts a string to a #CdClientError. enumerated value An error quark. Converts a #CdClientError to a string. identifier string Connects to the colord daemon. a #CdClient instance a #GCancellable or %NULL the function to run on completion the data to pass to @callback Gets the result from the asynchronous function. success a #CdClient instance. the #GAsyncResult Connects to the colord daemon. WARNING: This function is synchronous, and may block. Do not use it in GUI applications. %TRUE for success, else %FALSE. a #CdClient instance. a #GCancellable or %NULL Creates a color device. a #CdClient instance. identifier for the device the scope of the device properties to set on the device, or %NULL a #GCancellable, or %NULL the function to run on completion the data to pass to @callback Gets the result from the asynchronous function. a #CdDevice or %NULL a #CdClient instance. the #GAsyncResult Creates a color device. WARNING: This function is synchronous, and may block. Do not use it in GUI applications. A #CdDevice object, or %NULL for error a #CdClient instance. identifier for the device the scope of the device properties to set on the device, or %NULL a #GCancellable, or %NULL Creates a color profile. a #CdClient instance. identifier for the profile the scope of the profile properties to set on the profile, or %NULL a #GCancellable, or %NULL the function to run on completion the data to pass to @callback Gets the result from the asynchronous function. a #CdProfile or %NULL a #CdClient instance. the #GAsyncResult Creates a color profile for an #CdIcc Object. a #CdClient instance. #CdIcc object the scope of the profile a #GCancellable, or %NULL the function to run on completion the data to pass to @callback Gets the result from the asynchronous function. a #CdProfile or %NULL a #CdClient instance. the #GAsyncResult Creates a color profile from a #CdIcc object. WARNING: This function is synchronous, and may block. Do not use it in GUI applications. A #CdProfile object, or %NULL for error a #CdClient instance. A #CdIcc the scope of the profile a #GCancellable, or %NULL Creates a color profile. WARNING: This function is synchronous, and may block. Do not use it in GUI applications. A #CdProfile object, or %NULL for error a #CdClient instance. identifier for the device the scope of the profile properties to set on the profile, or %NULL a #GCancellable, or %NULL Deletes a device. a #CdClient instance. a #CdDevice a #GCancellable, or %NULL the function to run on completion the data to pass to @callback Gets the result from the asynchronous function. success a #CdClient instance. the #GAsyncResult Deletes a color device. WARNING: This function is synchronous, and may block. Do not use it in GUI applications. %TRUE is the device was deleted a #CdClient instance. a #CdDevice. a #GCancellable, or %NULL Deletes a profile. a #CdClient instance. a #CdProfile a #GCancellable, or %NULL the function to run on completion the data to pass to @callback Gets the result from the asynchronous function. success a #CdClient instance. the #GAsyncResult Deletes a color profile. WARNING: This function is synchronous, and may block. Do not use it in GUI applications. %TRUE is the profile was deleted a #CdClient instance. a #CdProfile. a #GCancellable, or %NULL Finds a device by an ID. a #CdClient instance. a device id a #GCancellable, or %NULL the function to run on completion the data to pass to @callback Finds a color device that has a property value. a #CdClient instance. the device property key the device property value a #GCancellable, or %NULL the function to run on completion the data to pass to @callback Gets the result from the asynchronous function. a #CdDevice or %NULL a #CdClient instance. the #GAsyncResult Finds a color device that has a property value. WARNING: This function is synchronous, and may block. Do not use it in GUI applications. A #CdDevice object, or %NULL for error a #CdClient instance. The device property key. The device property value. a #GCancellable or %NULL Gets the result from the asynchronous function. a #CdDevice or %NULL a #CdClient instance. the #GAsyncResult Finds a color device. WARNING: This function is synchronous, and may block. Do not use it in GUI applications. A #CdDevice object, or %NULL for error a #CdClient instance. The device ID. a #GCancellable or %NULL Finds a profile by an ID. a #CdClient instance. a profile id a #GCancellable, or %NULL the function to run on completion the data to pass to @callback Finds a profile by a filename. a #CdClient instance. a profile filename a #GCancellable, or %NULL the function to run on completion the data to pass to @callback Gets the result from the asynchronous function. a #CdProfile or %NULL a #CdClient instance. the #GAsyncResult Finds a color profile from its filename. WARNING: This function is synchronous, and may block. Do not use it in GUI applications. A #CdProfile object, or %NULL for error a #CdClient instance. filename for the profile a #GCancellable, or %NULL Finds a color profile that has a property value. a #CdClient instance. the profile property key the profile property value a #GCancellable, or %NULL the function to run on completion the data to pass to @callback Gets the result from the asynchronous function. a #CdProfile or %NULL a #CdClient instance. the #GAsyncResult Finds a color profile that has a property value. WARNING: This function is synchronous, and may block. Do not use it in GUI applications. A #CdProfile object, or %NULL for error a #CdClient instance. The profile property key. The profile property value. a #GCancellable or %NULL Gets the result from the asynchronous function. a #CdProfile or %NULL a #CdClient instance. the #GAsyncResult Finds a color profile from its id. WARNING: This function is synchronous, and may block. Do not use it in GUI applications. A #CdProfile object, or %NULL for error a #CdClient instance. id for the profile a #GCancellable, or %NULL Finds a sensor by an ID. a #CdClient instance. a sensor id a #GCancellable, or %NULL the function to run on completion the data to pass to @callback Gets the result from the asynchronous function. a #CdSensor or %NULL a #CdClient instance. the #GAsyncResult Finds a color sensor. WARNING: This function is synchronous, and may block. Do not use it in GUI applications. A #CdSensor object, or %NULL for error a #CdClient instance. The sensor ID. a #GCancellable or %NULL Gets if the client has been connected. %TRUE if properties are valid a #CdClient instance. Get colord daemon version. string containing the daemon version, e.g. "0.1.0" a #CdClient instance. Gets an array of color devices. a #CdClient instance. a #GCancellable, or %NULL the function to run on completion the data to pass to @callback Gets an array of color devices. a #CdClient instance. the type of device. a #GCancellable, or %NULL the function to run on completion the data to pass to @callback Gets the result from the asynchronous function. the devices a #CdClient instance. the #GAsyncResult Get an array of the device objects of a specified kind. WARNING: This function is synchronous, and may block. Do not use it in GUI applications. an array of #CdDevice objects. a #CdClient instance. a #CdDeviceKind, e.g. %CD_DEVICE_KIND_DISPLAY a #GCancellable or %NULL Gets the result from the asynchronous function. the devices a #CdClient instance. the #GAsyncResult Get an array of the device objects. WARNING: This function is synchronous, and may block. Do not use it in GUI applications. an array of #CdDevice objects. a #CdClient instance. a #GCancellable, or %NULL Gets if the colord server is currently running. WARNING: This function may block for up to 5 seconds waiting for the daemon to start if it is not already running. %TRUE if the colord process is running a #CdClient instance. Gets an array of color profiles. a #CdClient instance. a #GCancellable, or %NULL the function to run on completion the data to pass to @callback Gets the result from the asynchronous function. the profiles a #CdClient instance. the #GAsyncResult Get an array of the profile objects. WARNING: This function is synchronous, and may block. Do not use it in GUI applications. an array of #CdProfile objects. a #CdClient instance. a #GCancellable, or %NULL Gets an array of color sensors. a #CdClient instance. a #GCancellable, or %NULL the function to run on completion the data to pass to @callback Gets the result from the asynchronous function. the sensors a #CdClient instance. the #GAsyncResult Get an array of the sensor objects. WARNING: This function is synchronous, and may block. Do not use it in GUI applications. an array of #CdSensor objects. a #CdClient instance. a #GCancellable, or %NULL Finds a standard profile space. a #CdStandardSpace instance. a profile id a #GCancellable, or %NULL the function to run on completion the data to pass to @callback Gets the result from the asynchronous function. a #CdProfile or %NULL a #CdClient instance. the #GAsyncResult Finds a standard colorspace. WARNING: This function is synchronous, and may block. Do not use it in GUI applications. A #CdProfile object, or %NULL for error a #CdClient instance. standard colorspace value a #GCancellable, or %NULL Get system model. string containing the system model, e.g. "T61" a #CdClient instance. Get system vendor. string containing the system vendor, e.g. "Lenovo" a #CdClient instance. Imports a color profile into the users home directory. If the profile should be accessible for all users, then call cd_profile_install_system_wide() on the result. a #CdClient instance. a #GFile a #GCancellable, or %NULL the function to run on completion the data to pass to @callback Gets the result from the asynchronous function. a #CdProfile or %NULL a #CdClient instance. the #GAsyncResult Imports a color profile into the users home directory. WARNING: This function is synchronous, and may block. Do not use it in GUI applications. A #CdProfile object, or %NULL for error a #CdClient instance. A #GFile a #GCancellable, or %NULL The if the object path has been connected as is valid for use. The daemon version. The system model. The system vendor. The ::changed signal is emitted when properties may have changed. The ::device-added signal is emitted when a device is added. the #CdDevice that was added. The ::device-changed signal is emitted when a device is changed. the #CdDevice that was changed. The ::device-removed signal is emitted when a device is removed. the #CdDevice that was removed. The ::profile-added signal is emitted when a profile is added. the #CdProfile that was added. The ::profile-changed signal is emitted when a profile is changed. the #CdProfile that was removed. The ::profile-added signal is emitted when a profile is removed. the #CdProfile that was removed. The ::sensor-added signal is emitted when a sensor is added. the #CdSensor that was added. The ::sensor-changed signal is emitted when a sensor is changed. the #CdSensor that was removed. The ::sensor-added signal is emitted when a sensor is removed. the #CdSensor that was removed. Errors that can be thrown An internal error occurred The profile already exists Authentication failed Feature not supported Profile or device not found One or more of the parameters is invalid The file if invalid Flags used when returning an RGB color from a temperature. No flags set. Use Planckian below 5000K Allocates a color value. A newly allocated #CdColorLab object Deep copies a color value. the source color the destination color Calculates the ΔE of two colors using the 1976 formula. distance metric, where JND ΔE ≈ 2.3 Lab value 1 Lab value 2 Deallocates a color value. the color object Initialises a color value. the destination color component value component value component value Allocates a color value. A newly allocated #CdColorRGB object Deep copies a color value. the source color the destination color Deallocates a color value. the color object Set an RGB color which is roughly representative to the wavelength. a #CdColorRGB for the RGB result the wavelength roughly between 380nm and 780nm Initialises a color value. the destination color component value component value component value Convert from one color format to another. the source color the destination color Interpolate the RGB array to a different size. This uses the Akima interpolation algorithm unless the array would become non-monotonic, in which case it falls back to linear interpolation. An array of size @new_length or %NULL Input array the target length of the return array Checks the array for monotonicity. %TRUE if the array is monotonic Input array Creates a new RGB array. New array Allocates a color value. A newly allocated #CdColorSwatch object Deallocates a color swatch. the color object Initialises a swatch name. the destination swatch component name Initialises a swatch value. the destination swatch component value Allocates a color value. A newly allocated #CdColorUVW object Deep copies a color value. the source color the destination color Deallocates a color value. the color object Gets the chromaticity distance in the CIE 1960 UCS. The Euclidean distance color color Initialises a color value. the destination color component value component value component value Sets the CIEUVW color from a Planckian locus of specific temperature. destination color temperature in Kelvin Allocates a color value. A newly allocated #CdColorXYZ object Initialises a color value. the destination color Deep copies a color value. the source color the destination color Deallocates a color value. the color object Normalizes @src to y=1.0 the source color the destination color Initialises a color value. the destination color component value component value component value Gets the correlated color temperature for the XYZ value. the source color Convert from one color format to another. the source color the whitepoint the destination color Convert from one color format to another. the source color the destination color Allocates a color value. A newly allocated #CdColorYxy object Deep copies a color value. the source color the destination color Deallocates a color value. the color object Initialises a color value. the destination color component value component value component value Convert from one color format to another. the source color the destination color Convert from one color format to another. the source color the destination color The known colorspace. Creates a new #CdDevice object. a new CdDevice object. Creates a new #CdDevice object with a known object path. a new device object. The colord object path. Converts a string to a #CdDeviceError. enumerated value An error quark. Converts a #CdDeviceError to a string. identifier string Converts a string to a #CdDeviceKind. enumerated value Gets the most suitable profile kind for a device kind. a #CdProfileKind A #CdDeviceKind Converts a #CdDeviceKind to a string. identifier string Adds a profile to a device. a #CdDevice instance. a #CdDeviceRelation, e.g. #CD_DEVICE_RELATION_HARD a #CdProfile instance a #GCancellable, or %NULL the function to run on completion the data to pass to @callback Gets the result from the asynchronous function. success a #CdDevice instance. the #GAsyncResult Adds a profile to a device. WARNING: This function is synchronous, and may block. Do not use it in GUI applications. %TRUE for success, else %FALSE. a #CdDevice instance. a #CdDeviceRelation, e.g. #CD_DEVICE_RELATION_HARD a #CdProfile instance a #GCancellable or %NULL Connects to the object and fills up initial properties. a #CdDevice instance. a #GCancellable, or %NULL the function to run on completion the data to pass to @callback Gets the result from the asynchronous function. success a #CdDevice instance. the #GAsyncResult Connects to the object and fills up initial properties. WARNING: This function is synchronous, and may block. Do not use it in GUI applications. %TRUE for success, else %FALSE. a #CdDevice instance. a #GCancellable or %NULL Tests two devices for equality. %TRUE if the devices are the same device one #CdDevice instance. another #CdDevice instance. Gets the device colorspace. A colorspace, e.g. %CD_COLORSPACE_RGB a #CdDevice instance. Gets if the device has been connected. %TRUE if properties are valid a #CdDevice instance. Gets the device creation date. A value in microseconds, or 0 for invalid a #CdDevice instance. Gets the default device profile. A profile will not be returned if the device is being profiled or is disabled. A #CdProfile's or NULL a #CdDevice instance. Returns if the device is embedded in the computer and cannot be removed. %TRUE if embedded. a #CdDevice instance. Gets the device enabled state. %TRUE if the device is enabled a #CdDevice instance. Gets the device format. A string, or %NULL for invalid a #CdDevice instance. Gets the device ID. A string, or %NULL for invalid a #CdDevice instance. Gets the device kind. A device kind, e.g. %CD_DEVICE_KIND_DISPLAY a #CdDevice instance. Returns the device metadata. a #GHashTable. a #CdDevice instance. Returns the device metadata for a specific key. the metadata value, or %NULL if not set. a #CdDevice instance. a key for the metadata dictionary Gets the device mode. A colorspace, e.g. %CD_DEVICE_MODE_VIRTUAL a #CdDevice instance. Gets the device model. A string, or %NULL for invalid a #CdDevice instance. Gets the device modified date. A value in microseconds, or 0 for invalid a #CdDevice instance. Gets the object path for the device. the object path, or %NULL a #CdDevice instance. Gets the device owner. The UID of the user that created the device a #CdDevice instance. Gets the preferred profile for some qualifiers. a #CdDevice instance. a set of qualifiers that can included wildcards a #GCancellable, or %NULL the function to run on completion the data to pass to @callback Gets the result from the asynchronous function. a #CdProfile or %NULL a #CdDevice instance. the #GAsyncResult Gets the preferred profile for some qualifiers. WARNING: This function is synchronous, and may block. Do not use it in GUI applications. a #CdProfile or %NULL a #CdDevice instance. a set of qualifiers that can included wildcards a #GCancellable or %NULL Gets the property relationship to the device. a #CdDevice instance. a #CdProfile instance a #GCancellable, or %NULL the function to run on completion the data to pass to @callback Gets the result from the asynchronous function. success a #CdDevice instance. the #GAsyncResult Gets the property relationship to the device. WARNING: This function is synchronous, and may block. Do not use it in GUI applications. %TRUE for success, else %FALSE. a #CdDevice instance. a #CdProfile instance. a #GCancellable or %NULL Gets the device profiles. An array of #CdProfile's a #CdDevice instance. Gets any profiling inhibitors for the device. A strv, or %NULL for invalid a #CdDevice instance. Gets the device scope. An object scope, e.g. %CD_OBJECT_SCOPE_TEMP a #CdDevice instance. Gets the device seat identifier. A string, or %NULL for invalid a #CdDevice instance. Gets the device serial number. A string, or %NULL for invalid a #CdDevice instance. Gets the device vendor. A string, or %NULL for invalid a #CdDevice instance. Makes an already added profile default for a device. a #CdDevice instance. a #CdProfile instance a #GCancellable, or %NULL the function to run on completion the data to pass to @callback Gets the result from the asynchronous function. success a #CdDevice instance. the #GAsyncResult Makes an already added profile default for a device. WARNING: This function is synchronous, and may block. Do not use it in GUI applications. %TRUE for success, else %FALSE. a #CdDevice instance. a #CdProfile instance a #GCancellable or %NULL Sets up the device for profiling and causes no profiles to be returned if cd_device_get_profile_for_qualifiers_sync() is used. a #CdDevice instance. a #GCancellable, or %NULL the function to run on completion the data to pass to @callback Gets the result from the asynchronous function. success a #CdDevice instance. the #GAsyncResult Sets up the device for profiling and causes no profiles to be returned if cd_device_get_profile_for_qualifiers_sync() is used. WARNING: This function is synchronous, and may block. Do not use it in GUI applications. %TRUE for success, else %FALSE. a #CdDevice instance. a #GCancellable or %NULL Restores the device after profiling and causes normal profiles to be returned if cd_device_get_profile_for_qualifiers_sync() is used. a #CdDevice instance. a #GCancellable, or %NULL the function to run on completion the data to pass to @callback Gets the result from the asynchronous function. success a #CdDevice instance. the #GAsyncResult Sets up the device for profiling and causes no profiles to be returned if cd_device_get_profile_for_qualifiers_sync() is used. WARNING: This function is synchronous, and may block. Do not use it in GUI applications. %TRUE for success, else %FALSE. a #CdDevice instance. a #GCancellable or %NULL Removes a profile from a device. a #CdDevice instance. a #CdProfile instance a #GCancellable, or %NULL the function to run on completion the data to pass to @callback Gets the result from the asynchronous function. success a #CdDevice instance. the #GAsyncResult Removes a profile from a device. WARNING: This function is synchronous, and may block. Do not use it in GUI applications. %TRUE for success, else %FALSE. a #CdDevice instance. a #CdProfile instance a #GCancellable or %NULL Sets the device kind. WARNING: This function is synchronous, and may block. Do not use it in GUI applications. #TRUE for success, else #FALSE and @error is used a #CdDevice instance. The device colorspace, e.g. #CD_COLORSPACE_RGB a #GCancellable or %NULL Enables or disables a device. a #CdDevice instance. the enabled state a #GCancellable, or %NULL the function to run on completion the data to pass to @callback Gets the result from the asynchronous function. success a #CdDevice instance. the #GAsyncResult Enables or disables a device. WARNING: This function is synchronous, and may block. Do not use it in GUI applications. %TRUE for success, else %FALSE. a #CdDevice instance. the enabled state a #GCancellable or %NULL Sets the device kind. WARNING: This function is synchronous, and may block. Do not use it in GUI applications. #TRUE for success, else #FALSE and @error is used a #CdDevice instance. The device kind, e.g. #CD_DEVICE_KIND_DISPLAY a #GCancellable or %NULL Sets the device mode. WARNING: This function is synchronous, and may block. Do not use it in GUI applications. #TRUE for success, else #FALSE and @error is used a #CdDevice instance. The device kind, e.g. #CD_DEVICE_MODE_VIRTUAL a #GCancellable or %NULL Sets the device model. WARNING: This function is synchronous, and may block. Do not use it in GUI applications. #TRUE for success, else #FALSE and @error is used a #CdDevice instance. The model. a #GCancellable or %NULL Sets the object path of the device. a #CdDevice instance. The colord object path. Sets a property on the device. a #CdDevice instance. a property key a property key a #GCancellable, or %NULL the function to run on completion the data to pass to @callback Gets the result from the asynchronous function. success a #CdDevice instance. the #GAsyncResult Sets an object property. WARNING: This function is synchronous, and may block. Do not use it in GUI applications. %TRUE for success, else %FALSE. a #CdDevice instance. The property key The property value a #GCancellable or %NULL Sets the device serial number. WARNING: This function is synchronous, and may block. Do not use it in GUI applications. #TRUE for success, else #FALSE and @error is used a #CdDevice instance. The string value. a #GCancellable or %NULL Sets the device vendor. WARNING: This function is synchronous, and may block. Do not use it in GUI applications. #TRUE for success, else #FALSE and @error is used a #CdDevice instance. The string value. a #GCancellable or %NULL Converts the device to a string description. text representation of #CdDevice a #CdDevice instance. The device colorspace, e.g. %CD_COLORSPACE_RGB. The if the object path has been connected as is valid for use. The time the device was created. If the device is embedded in the device and cannot be removed. The device enabled state. The device format. The device ID. The device kind, e.g. %CD_DEVICE_KIND_DISPLAY. The device colorspace, e.g. %CD_DEVICE_MODE_VIRTUAL. The device model. The last time the device was modified. The object path of the remote object The device owner, e.g. 500. The device scope, e.g. %CD_OBJECT_SCOPE_TEMP. The device seat identifier. The device serial number. The device vendor. The ::changed signal is emitted when the device data has changed. Errors that can be thrown An internal error occurred The profile does not exist The profile has already been added The device is being profiled Nothing matched the search term Cound not inhibit device Cound not uninhibit device Authentication failed The device has been disabled The device type. The device mode. The device to profile relationship. Creates an object suitable for parsing an EDID. A new #CdEdid Gets the #CdEdid error quark. a #GQuark Gets the blue primary. #CdColorYxy chromaticity A valid #CdEdid Gets the EDID MD5 checksum. string value A valid #CdEdid Gets the EDID EISA ID. string value A valid #CdEdid Gets the native panel gamma. floating point value A valid #CdEdid Gets the green primary. #CdColorYxy chromaticity A valid #CdEdid Gets the panel height in inches. integer value A valid #CdEdid Gets the EDID monitor name. string value A valid #CdEdid Gets the EDID PNP ID. string value A valid #CdEdid Gets the red primary. %TRUE for success A valid #CdEdid Gets the EDID serial number. string value A valid #CdEdid Gets the EDID vendor name. string value A valid #CdEdid Gets the whitepoint. #CdColorYxy chromaticity A valid #CdEdid Gets the panel width in inches. integer value A valid #CdEdid Parses the EDID. %TRUE for success A valid #CdEdid data to parse Resets all cached data. A valid #CdEdid Creates a new #CdIcc object. a new CdIcc object. An error quark. Sets an item of data to the profile metadata, overwriting it if it already exists. A valid #CdIcc the metadata key the UTF-8 metadata value Creates a default sRGB ICC profile. %TRUE for success A valid #CdIcc Creates a default sRGB ICC profile. %TRUE for success A valid #CdIcc a set of #CdIccLoadFlags Creates an ICC profile from EDID data. %TRUE for success A valid #CdIcc approximate device gamma primary color value primary color value primary color value whitepoint value Creates an ICC profile from EDID data. %TRUE for success A valid #CdIcc EDID data Gets the profile red chromaticity value. This function will only return results if the profile was loaded with the %CD_ICC_LOAD_FLAGS_PRIMARIES flag. the #CdColorXYZ value a valid #CdIcc instance Finds out if the profile could be deleted. This is only applicable for profiles loaded with cd_icc_load_file() as obviously data and fd's cannot be sanely unlinked. %TRUE if g_file_delete() would likely work a #CdIcc instance. Gets any characterization data used to build the profile. This function will only return results if the profile was loaded with the %CD_ICC_LOAD_FLAGS_CHARACTERIZATION flag. TI3 string data a #CdIcc instance. Gets the profile checksum if one exists. This will either be the embedded profile ID, or the file checksum if the #CdIcc object was loaded using cd_icc_load_data() or cd_icc_load_file() and the %CD_ICC_LOAD_FLAGS_FALLBACK_MD5 flag is used. An embedded MD5 checksum, or %NULL for not set A valid #CdIcc Gets the profile colorspace The profile colorspace, e.g. %CD_COLORSPACE_RGB a #CdIcc instance. Return the cmsContext instance used locally. This may be required if you are using native LCMS calls and then cd_icc_load_handle(). Do not call cmsDeleteContext() on this value! a #CdIcc instance. Gets the profile copyright. If the translated text is not available in the selected locale then the default untranslated (en_US) text is returned. The text as a UTF-8 string, or %NULL of the locale is invalid or the tag does not exist. A valid #CdIcc A locale, e.g. "en_GB.UTF-8" or %NULL for the profile default Gets the ICC creation date and time. A #GDateTime object, or %NULL for not set A valid #CdIcc Gets the profile description. If the translated text is not available in the selected locale then the default untranslated (en_US) text is returned. The text as a UTF-8 string, or %NULL of the locale is invalid or the tag does not exist. A valid #CdIcc A locale, e.g. "en_GB.UTF-8" or %NULL for the profile default Gets the filename of the ICC data, if one exists. A filename, or %NULL A valid #CdIcc Gets the profile green chromaticity value. This function will only return results if the profile was loaded with the %CD_ICC_LOAD_FLAGS_PRIMARIES flag. the #CdColorXYZ value a valid #CdIcc instance Return the cmsHPROFILE instance used locally. This may be required if you are using the profile in a transform. Do not call cmsCloseProfile() on this value! a #CdIcc instance. Gets the profile kind. The kind, e.g. %CD_PROFILE_KIND_INPUT a #CdIcc instance. Gets the profile manufacturer. If the translated text is not available in the selected locale then the default untranslated (en_US) text is returned. The text as a UTF-8 string, or %NULL of the locale is invalid or the tag does not exist. A valid #CdIcc A locale, e.g. "en_GB.UTF-8" or %NULL for the profile default Gets all the metadata from the ICC profile. The profile metadata A valid #CdIcc Gets an item of data from the ICC metadata store. The dictionary data, or %NULL if the key does not exist. A valid #CdIcc the dictionary key Gets the profile model. If the translated text is not available in the selected locale then the default untranslated (en_US) text is returned. The text as a UTF-8 string, or %NULL of the locale is invalid or the tag does not exist. A valid #CdIcc A locale, e.g. "en_GB.UTF-8" or %NULL for the profile default Gets any named colors in the profile. This function will only return results if the profile was loaded with the %CD_ICC_LOAD_FLAGS_NAMED_COLORS flag. An array of color swatches a #CdIcc instance. Gets the profile red chromaticity value. This function will only return results if the profile was loaded with the %CD_ICC_LOAD_FLAGS_PRIMARIES flag. the #CdColorXYZ value a valid #CdIcc instance Generates a response curve of a specified size. response data, or %NULL for error A valid #CdIcc the size of the curve to generate Gets the ICC profile file size The size in bytes, or 0 for unknown. Returns the raw data for the specific tag. Most users do not need to do this. the data for the tag a #CdIcc instance. a 4 bytes tag description, e.g. "cprt" or "vcgt" Returns the internal tag table. Most users do not need to do this. the tag tables as an array of strings a #CdIcc instance. Gets the ICC color temperature, rounded to the nearest 100K. This function will only return results if the profile was loaded with the %CD_ICC_LOAD_FLAGS_PRIMARIES flag. The color temperature in Kelvin, or 0 for error. A valid #CdIcc Gets the video card calibration data from the profile. VCGT data, or %NULL for error A valid #CdIcc the desired size of the table data Gets the ICC profile version, typically 2.1 or 4.2 A floating point version number, or 0.0 for unknown a #CdIcc instance. Returns any warnings with profiles An array of warning values a #CdIcc instance. Gets the profile white point. This function will only return results if the profile was loaded with the %CD_ICC_LOAD_FLAGS_PRIMARIES flag. the #CdColorXYZ value a valid #CdIcc instance Loads an ICC profile from raw byte data. a #CdIcc instance. binary data Length of @data a set of #CdIccLoadFlags Loads an ICC profile from an open file descriptor. a #CdIcc instance. a file descriptor a set of #CdIccLoadFlags Loads an ICC profile from a local or remote file. a #CdIcc instance. a #GFile a set of #CdIccLoadFlags A #GCancellable or %NULL Set the internal cmsHPROFILE instance. This may be required if you create the profile using cmsCreateRGBProfileTHR() and then want to use the functionality in #CdIcc. Do not call cmsCloseProfile() on @handle in the caller, this will be done when the @icc object is finalized. Treat the profile like it's been adopted by this module. To handle the internal error callback, you should use the thread-safe creation function, e.g. cmsCreateNULLProfileTHR(). The @context_id should be set as the value of cd_icc_get_context() for this object. Additionally, this function cannot be called more than once, and also can't be called if cd_icc_load_file() has previously been used on the @icc object. a #CdIcc instance. a cmsHPROFILE instance a set of #CdIccLoadFlags Removes an item of metadata. A valid #CdIcc the metadata key Saves an ICC profile to an allocated memory location. Return vale: A #GBytes structure, or %NULL for error a #CdIcc instance. a set of #CdIccSaveFlags Saves an ICC profile to the default per-user location. Return vale: %TRUE for success. a #CdIcc instance. a set of #CdIccSaveFlags A #GCancellable or %NULL Saves an ICC profile to a local or remote file. Return vale: %TRUE for success. a #CdIcc instance. a #GFile a set of #CdIccSaveFlags A #GCancellable or %NULL Sets the characterization data used to build the profile. a #CdIcc instance. TI3 string data, or %NULL Sets the colorspace kind. a #CdIcc instance. the profile colorspace, e.g. %CD_COLORSPACE_RGB Sets the profile _copyright for a specific locale. A valid #CdIcc A locale, e.g. "en_GB.UTF-8" or %NULL for the profile default New UTF-8 string value Sets the profile copyrights for specific locales. A valid #CdIcc New translated values, with the key being the locale. Sets the ICC creation date and time. A valid #CdIcc Sets the profile description for a specific locale. A valid #CdIcc A locale, e.g. "en_GB.UTF-8" or %NULL for the profile default New UTF-8 string value Sets the profile descriptions for specific locales. A valid #CdIcc New translated values, with the key being the locale. Sets the filename, which may be required if the ICC profile has been loaded using cd_icc_load_fd() from a disk cache. a #CdIcc instance. a filename, or %NULL Sets the profile kind. a #CdIcc instance. the profile kind, e.g. %CD_PROFILE_KIND_DISPLAY_DEVICE Sets the profile manufacturer for a specific locale. A valid #CdIcc A locale, e.g. "en_GB.UTF-8" or %NULL for the profile default New UTF-8 string value Sets the profile manufacturers for specific locales. A valid #CdIcc New translated values, with the key being the locale. Sets the profile model for a specific locale. A valid #CdIcc A locale, e.g. "en_GB.UTF-8" or %NULL for the profile default New UTF-8 string value Sets the profile models for specific locales. A valid #CdIcc New translated values, with the key being the locale. Sets the raw data for the specific tag. Most users do not need to do this. a #CdIcc instance. a 4 bytes tag description, e.g. "cprt" or "vcgt" a variable sized data entry Sets the Video Card Gamma Table from the profile. Return vale: %TRUE for success. A valid #CdIcc video card calibration data Sets the profile version. a #CdIcc instance. the profile version, e.g. 2.1 or 4.0 Returns a string representation of the ICC profile. an allocated string a #CdIcc instance. The ICC error code. Failed to open file Failed to parse data Locale was invalid No data to read Failed to save file Failed to create file Invalid colorspace Corruption has been detected Something inside LCMS broke Flags used when loading an ICC profile. No flags set. Parse any named colors in the profile. Parse all translations in the profile. Parse the metadata in the profile. Calculate the profile MD5 if a profile ID was not supplied in the profile. Parse the primaries in the profile. Load the characterization data from the profile Flags used when saving an ICC profile. No flags set. Creates a new #CdIt8 object. a new CdIt8 object. Creates a new #CdIt8 object. a new CdIt8 object. a #CdIt8Kind, e.g %CD_IT8_KIND_TI3. An error quark. Adds a reading to this object. If either of @rgb or @xyz is NULL then a black reading (0.0, 0.0, 0.0) is added instead. a #CdIt8 instance. a #CdColorRGB, or %NULL a #CdColorXYZ, or %NULL Sets any extra options that have to be set in the CCMX file a #CdIt8 instance. A IT8 option, e.g. "TYPE_LCD" Adds a spectrum to the spectral array. a #CdIt8 instance. the spectral data Gets a specific bit of data from this object. The returned data are absolute readings and are not normalised. %TRUE if the index existed. a #CdIt8 instance. the item index the returned RGB value the returned XYZ value Gets the data size. The number of RGB-XYZ readings in this object. a #CdIt8 instance. Gets if the 'CREATED' attribute will be written. This is typically only set in the self test programs. The reference, or %NULL if unset a #CdIt8 instance. Gets the instrument the file was created by. The instrument, or %NULL if unset a #CdIt8 instance. Gets the kind of IT8 file. a #CdIt8Kind, e.g %CD_IT8_KIND_TI3. a #CdIt8 instance. Gets the calibration matrix in the it8 file. a #CdMat3x3. a #CdIt8 instance. Gets if the data should be written normlaised to y=100. %TRUE if the data should be normalised. a #CdIt8 instance. Gets the file orginator. The originator, or %NULL if unset a #CdIt8 instance. Gets the reference the file was created against. The reference, or %NULL if unset a #CdIt8 instance. Gets if the data is spectral or XYZ. %TRUE if the data is in spectral bands. a #CdIt8 instance. Gets the spectral data of IT8 file. spectral data a #CdIt8 instance. Gets a specific spectrum in an IT8 file. spectrum, or %NULL a #CdIt8 instance. the spectrum ID value Gets the file title. The title, or %NULL if unset a #CdIt8 instance. Gets the XYZ value for a specific RGB value. A CdColorXYZ, or %NULL if the sample does not exist. a #CdIt8 instance. the red value the green value the blue value the smallest difference between colors, e.g. 0.01f Finds an option in the file. %TRUE if the option is set a #CdIt8 instance. a option, e.g. "TYPE_CRT" Loads a it8 file from data. %TRUE if a valid it8 file was read. a #CdIt8 instance. text data the size of text data Loads a it8 file from disk. %TRUE if a valid it8 file was read. a #CdIt8 instance. a #GFile Saves a it8 file to an area of memory. %TRUE if it8 file was saved. a #CdIt8 instance. a pointer to returned data size of @data Saves a it8 file to disk %TRUE if it8 file was saved. a #CdIt8 instance. a #GFile Sets if the 'CREATED' attribute should be written. This is mainly useful in the self test programs where we want to string compare the output data with a known reference. a #CdIt8 instance. Is 'CREATED' should be written Sets the measuring instrument that created the .it8 file a #CdIt8 instance. the instruemnt name, e.g. "huey" Set the kind of IT8 file. a #CdIt8 instance. a #CdIt8Kind, e.g %CD_IT8_KIND_TI3. Set the calibration matrix in the it8 file. a #CdIt8 instance. a #CdMat3x3. Sets if normalized data should be written to the .it8 file. a #CdIt8 instance. If the data is normalized Sets the program name that created the .it8 file a #CdIt8 instance. the program name, e.g. "gcm-calibrate" Sets the reference that as used to create the .it8 reference a #CdIt8 instance. the instruemnt name, e.g. "colormunki" Sets if spectral data should be written to the .it8 file. a #CdIt8 instance. If the data is spectral Set the spectral data a #CdIt8 instance. the spectral data Sets the display name for the file. a #CdIt8 instance. the title name, e.g. "Factory calibration" The instrument that created the results, e.g. "huey" The kind of IT8 file. If the results file is normalized. The framework that created the results, e.g. "cd-self-test" The reference that created the results, e.g. "colormunki" If the results file is spectral. The file title, e.g. "Factor calibration". Errors that can be thrown the transaction failed for an unknown reason The kind of IT8 file. The options type. Creates a new #CdProfile object. a new CdProfile object. Creates a new #CdProfile object with a known object path. a new profile object. The colord object path. Converts a string to a #CdProfileError. enumerated value An error quark. Converts a #CdProfileError to a string. identifier string Converts a string to a #CdProfileQuality. enumerated value Converts a #CdProfileQuality to a string. identifier string Converts a string to a #CdProfileWarning. enumerated value Converts a #CdProfileWarning to a string. identifier string Connects to the object and fills up initial properties. a #CdProfile instance. a #GCancellable, or %NULL the function to run on completion the data to pass to @callback Gets the result from the asynchronous function. success a #CdProfile instance. the #GAsyncResult Connects to the object and fills up initial properties. WARNING: This function is synchronous, and may block. Do not use it in GUI applications. %TRUE for success, else %FALSE. a #CdProfile instance. a #GCancellable or %NULL Tests two profiles for equality. %TRUE if the profiles are the same device one #CdProfile instance. another #CdProfile instance. Gets the profile age in seconds relative to the current time. A UNIX time, or 0 if the profile has no creation date a #CdProfile instance. Gets the profile colorspace. A #CdColorspace, e.g. %CD_COLORSPACE_RGB a #CdProfile instance. Gets if the profile has been connected. %TRUE if properties are valid a #CdProfile instance. Gets the profile created date and time. A UNIX time, or 0 if the profile has no creation date a #CdProfile instance. Gets the profile filename. A string, or %NULL for invalid a #CdProfile instance. Gets the profile format. A string, or %NULL for invalid a #CdProfile instance. Returns if the profile has a VCGT table. %TRUE if VCGT is valid. a #CdProfile instance. Gets the profile ID. A string, or %NULL for invalid a #CdProfile instance. Returns if the profile is installed system wide and available for all users. %TRUE if system wide. a #CdProfile instance. Gets the profile kind. A #CdProfileKind, e.g. %CD_PROFILE_KIND_DISPLAY_DEVICE a #CdProfile instance. Returns the profile metadata. a #GHashTable. a #CdProfile instance. Returns the profile metadata for a specific key. the metadata value, or %NULL if not set. a #CdProfile instance. a key for the metadata dictionary Gets the object path for the profile. the object path, or %NULL a #CdProfile instance. Gets the profile owner. The UID of the user that created the device a #CdProfile instance. Gets the profile qualifier. A string, or %NULL for invalid a #CdProfile instance. Gets the profile scope. A #CdObjectScope, e.g. %CD_OBJECT_SCOPE_UNKNOWN a #CdProfile instance. Gets the profile title. A string, or %NULL for invalid a #CdProfile instance. Gets the profile warnings as a string array. Any profile warnings, e.g. "vcgt-non-monotonic" a #CdProfile instance. Gets if the current user has access permissions to the profile. A string, or %NULL for invalid a #CdProfile instance. Sets the profile system wide. a #CdProfile instance. a #GCancellable, or %NULL the function to run on completion the data to pass to @callback Gets the result from the asynchronous function. success a #CdProfile instance. the #GAsyncResult Sets the profile system wide. WARNING: This function is synchronous, and may block. Do not use it in GUI applications. %TRUE for success, else %FALSE. a #CdProfile instance. a #GCancellable or %NULL Loads a local ICC object from the abstract profile. A new #CdIcc object, or %NULL for error a #CdProfile instance. options for loading the profile A #GCancellable, or %NULL Sets the object path of the profile. a #CdProfile instance. The colord object path. Deletes a color device. a #CdProfile instance. a key name a key value a #GCancellable, or %NULL the function to run on completion the data to pass to @callback Gets the result from the asynchronous function. success a #CdProfile instance. the #GAsyncResult Sets properties on an object WARNING: This function is synchronous, and may block. Do not use it in GUI applications. %TRUE for success, else %FALSE. a #CdProfile instance. The key The value a #GCancellable or %NULL Converts the profile to a string description. text representation of #CdProfile a #CdProfile instance. The profile colorspace. The if the object path has been connected as is valid for use. When the profile was created. The profile filename. The profile format. If the profile has a VCGT table. The profile ID. If the profile is installed system wide for all users. The profile kind. The object path of the remote object The profile owner, e.g. %500. The profile qualifier. The profile scope, e.g. %CD_OBJECT_SCOPE_TEMP. The profile title. The profile warnings, e.g. "vcgt-non-monotonic". The ::changed signal is emitted when the profile data has changed. Errors that can be thrown An internal error occurred The profile is already installed The profile could not be written The profile could not be parsed The profile could not be read Authentication failed One or more of the properties was invalid Failed to get UID for sender The profile type. The quality of the profile produced through calibration. Low quality profile, fast Medium quality profile High quality profile, slow The warning about the profile. Profiles with warnings can still be used, but may be of limited use. No error is found The description is missing or of zero length The copyright is missing or of zero length The video card gamma table is not monotonic Lab 100, 0, 0 does not map to RGB 255,255,255 There is significant a/b for gray The gray ramp is not monotonic One or more of the primaries are invalid The primaries to not add to give D50 white One or more of the primaries are outside of ROMM RGB RGB 255,255,255 does not return D50 Whitepoint is outside of usual range The rendering intent. Unknown rendering intent Used for photos as it maintains contrast Used for graphic design and named colors Used for business charts as it maintains saturation without dithering Used when a specific color is required Creates a new #CdSensor object. a new CdSensor object. Creates a new #CdSensor object with a known object path. a new sensor object. The colord object path. Gets the sensor capability as a enumerated value. a #CdSensorCap the sensor capability, e.g. 'projector'. Gets the sensor capability as a string. the sensor capability, e.g. 'projector'. a #CdSensorCap Converts a string to a #CdSensorError. enumerated value An error quark. Converts a #CdSensorError to a string. identifier string Gets the sensor kind as a enumerated value. a #CdSensorKind the sensor kind, e.g. 'huey'. Gets the sensor kind as a string. the sensor kind, e.g. 'huey'. a #CdSensorKind Gets the sensor stateability as a enumerated value. a #CdSensorState the sensor stateability, e.g. 'measuring'. Gets the sensor stateability as a string. the sensor stateability, e.g. 'measuring'. a #CdSensorState Connects to the sensor. a #CdSensor instance a #GCancellable or %NULL the function to run on completion the data to pass to @callback Gets the result from the asynchronous function. %TRUE if we could connect to to the sensor a #CdSensor instance the #GAsyncResult Connects to the object and fills up initial properties. WARNING: This function is synchronous, and may block. Do not use it in GUI applications. %TRUE for success, else %FALSE. a #CdSensor instance. a #GCancellable or %NULL Tests two sensors for equality. %TRUE if the sensors are the same device one #CdSensor instance. another #CdSensor instance. Returns the sensor metadata. The sensor capability bitfield. a #CdSensor instance. Gets if the sensor has been connected. %TRUE if properties are valid a #CdSensor instance. Returns if the sensor is embedded into the computer. %TRUE if embedded. a #CdSensor instance. Gets the object ID for the sensor. the object ID, or %NULL a #CdSensor instance. Gets the sensor kind. A #CdSensorKind, e.g. %CD_SENSOR_KIND_HUEY a #CdSensor instance. Returns if the sensor is locked. %TRUE if VCGT is valid. a #CdSensor instance. Returns the sensor metadata. a #GHashTable. a #CdSensor instance. Returns the sensor metadata for a specific key. the metadata value, or %NULL if not set. a #CdSensor instance. a key for the metadata dictionary Gets the sensor operating mode. A #CdSensorCap, e.g. %CD_SENSOR_CAP_AMBIENT a #CdSensor instance. Gets the sensor model. A string, or %NULL for invalid a #CdSensor instance. Returns if the sensor has a native driver. %TRUE if VCGT is valid. a #CdSensor instance. Gets the object path for the sensor. the object path, or %NULL a #CdSensor instance. Gets a specific sensor option. A const string, or %NULL of not found. a #CdSensor instance. a key to search for. Gets any sensor options. A refcounted #GHashTable of (string, GVariant). a #CdSensor instance. Gets a color sample from a sensor a #CdSensor instance. a #CdSensorCap a #GCancellable, or %NULL the function to run on completion the data to pass to @callback Gets the result from the asynchronous function. the XYZ reading, or %NULL a #CdSensor instance. the #GAsyncResult Gets a sample from the sensor. WARNING: This function is synchronous, and may block. Do not use it in GUI applications. the XYZ reading, with ambient levels in Lux encoded in X, or %NULL for error. a #CdSensor instance. The device capability, e.g. %CD_SENSOR_CAP_AMBIENT. a #GCancellable or %NULL Gets the sensor serial number. A string, or %NULL for invalid a #CdSensor instance. Gets a color spectrum from a sensor a #CdSensor instance. a #CdSensorCap a #GCancellable, or %NULL the function to run on completion the data to pass to @callback Gets the result from the asynchronous function. the XYZ reading, or %NULL a #CdSensor instance. the #GAsyncResult Gets a spectrum from the sensor. WARNING: This function is synchronous, and may block. Do not use it in GUI applications. the XYZ reading, with ambient levels in Lux encoded in X, or %NULL for error. a #CdSensor instance. The device capability, e.g. %CD_SENSOR_CAP_AMBIENT. a #GCancellable or %NULL Gets the sensor state. A #CdSensorState, e.g. %CD_SENSOR_STATE_IDLE a #CdSensor instance. Gets the sensor vendor. A string, or %NULL for invalid a #CdSensor instance. Returns the sensor metadata for a specific key. %TRUE if the sensor has the specified capability a #CdSensor instance. a specified capability, e.g. %CD_SENSOR_CAP_LCD Locks the device so we can use it. a #CdSensor instance. a #GCancellable, or %NULL the function to run on completion the data to pass to @callback Gets the result from the asynchronous function. success a #CdSensor instance. the #GAsyncResult Locks the device so we can use it. WARNING: This function is synchronous, and may block. Do not use it in GUI applications. %TRUE for success, else %FALSE. a #CdSensor instance. a #GCancellable or %NULL Sets the object path of the sensor. a #CdSensor instance. The colord object path. Sets options on the sensor device. a #CdSensor instance. the options a #GCancellable, or %NULL the function to run on completion the data to pass to @callback Gets the result from the asynchronous function. success a #CdSensor instance. the #GAsyncResult Sets options on the sensor device. WARNING: This function is synchronous, and may block. Do not use it in GUI applications. %TRUE for success, else %FALSE. a #CdSensor instance. the options a #GCancellable or %NULL Unlocks the sensor for use by other programs. a #CdSensor instance. a #GCancellable, or %NULL the function to run on completion the data to pass to @callback Gets the result from the asynchronous function. success a #CdSensor instance. the #GAsyncResult Unlocks the device for use by other programs. WARNING: This function is synchronous, and may block. Do not use it in GUI applications. %TRUE for success, else %FALSE. a #CdSensor instance. a #GCancellable or %NULL The if the object path has been connected as is valid for use. If the sensor has a native driver. The object ID of the remote object The sensor kind. If the sensor is locked. The sensor mode. The sensor model. If the sensor has a native driver. The object path of the remote object The sensor ID. The sensor state. The sensor vendor. The ::button-pressed signal is emitted when the button has been pressed. The sensor capabilities, i.e. things the sensor can do. The sensor error code. This action is unsupported on this hardware The sensor provided no data An internal error occurred The sensor is already locked The sensor is not locked The sensor is already in use Authentication failed The sensor needs to be in the calibrate position The sensor needs to be in the surface position The sensor needs dark calibration The sensor needs irradiance calibration The sensor type. The state of the sensor. Allocates a spectrum. A newly allocated #CdSpectrum object Allocates a Planckian spectrum at a specific temperature. A newly allocated #CdSpectrum object the temperature in Kelvin Allocates a Planckian spectrum at a specific temperature. A newly allocated #CdSpectrum object the temperature in Kelvin the new spectrum start the new spectrum end the resolution to use when resampling Allocates a spectrum with a preallocated size. A newly allocated #CdSpectrum object the future size of the spectrum Adds a value in nm to the spectrum. the spectrum a #CdSpectrum instance. Deallocates a color spectrum. the spectrum Gets the spectral data. NOTE: This is not normalized spectral data a #CdSpectrum instance. Gets the end value of the spectral data. the value in nm a #CdSpectrum instance. Gets the spectral data. the textual ID of the sample a #CdSpectrum instance. Gets the normalization value of the spectral data. NOTE: This affects every value in the spectrum. the value a #CdSpectrum instance. Gets the divisor of the spectra, for instance a . the value a #CdSpectrum instance. Gets the size of the spectrum data. number of data items in this spectrum a #CdSpectrum instance. Gets the start value of the spectral data. the value in nm a #CdSpectrum instance. Gets the spectrum data at a specified index. spectral data value, or -1 for invalid a #CdSpectrum instance. an index into the data Gets the value from the spectral data for a given wavelength. the value for the wavelength a #CdSpectrum instance. the wavelength in nm Gets the largest normalised value in the spectrum. a #CdSpectrum instance. Gets the smallest normalised value in the spectrum. a #CdSpectrum instance. Gets the spectrum data at a specified index, without any normalization applied. Most people should use cd_spectrum_get_value() instead. spectral data value, or -1 for invalid a #CdSpectrum instance. an index into the data Gets the wavelenth that corresponds to the specified index. wavelenth value in nm, or -1 for invalid a #CdSpectrum instance. an index into the data Gets the calibration coefficients used to map pixel indexes to wavelengths. a #CdSpectrum instance the 1st coefficient the 2nd coefficient the 3rd coefficient Ensures no values in the spectrum fall above a set limit. If they are found, set them to @value. a #CdSpectrum instance the threshold value to limit the spectrum Ensures no values in the spectrum fall below a set limit. If they are found, set them to @value. a #CdSpectrum instance the threshold value to limit the spectrum Multiplies two spectra together. a #CdSpectrum instance a #CdSpectrum instance, possibly an illuminant. a #CdSpectrum instance, possibly an absorption spectrum. the step size in nm Multiplies a spectra with a scalar value. a #CdSpectrum instance a #CdSpectrum instance a scalar value Normalizes a spectrum to a specific value at a specific wavelength. a #CdSpectrum instance the wavelength in nm the value to normalize to Normalizes a spectrum to a specific value at its maximum value. a #CdSpectrum instance the value to normalize to Resample a new spectrum with linear index to wavelength coefficients. a #CdSpectrum instance a #CdSpectrum instance the new spectrum start the new spectrum end the resolution to use when resampling Resample a new spectrum with the desired number of points. a #CdSpectrum instance a #CdSpectrum instance the output spectrum size Sets the spectrum data. the destination spectrum component value Set the end value of the spectal data in nm. If there is already spectral data, the wavelength calibration will also be set automatically. a #CdSpectrum instance. the end value of the spectral data Sets a spectrum id. the destination spectrum component id Set the normalization value of the spectrum. NOTE: This affects every value in the spectrum. a #CdSpectrum instance. the end value of the spectral data Set the start value of the spectal data in nm. a #CdSpectrum instance. the start value of the spectral data Overwrites the spectrum data at a specified index. a #CdSpectrum instance. an index into the data a data value Sets the calibration coefficients used to map pixel indexes to wavelengths. This function will set the 'end' wavelength automatically, potentially overwriting the value set by cd_spectrum_set_end(). a #CdSpectrum instance the 1st coefficient the 2nd coefficient the 3rd coefficient Subtracts one spectral plot from another. If the spectra have the same start, end and the same number of data points they are not resampled. a #CdSpectrum instance a #CdSpectrum instance, e.g. a sample a #CdSpectrum instance, e.g. a dark calibration the resolution to use when resampling Returns a graphical representation of the spectrum. a printable ASCII string a #CdSpectrum instance the terminal width the terminal height A standard colorspace Adds two vector quantaties The arguments @src and @dest can be the same value. the source the other source the destination Clears a vector, setting all it's values to zero. the source vector Copies the vector into another vector. The arguments @src and @dest cannot be the same value. the source the destination Gets the raw data for the vector. the pointer to the data segment. the vector source Initialises a vector. the destination vector component value component value component value Multiplies a vector with a scalar. The arguments @src and @dest can be the same value. the source the scalar multiplier the destination Gets the mean squared error for a pair of vectors the floating point MSE. the vector source another vector source Subtracts one vector quantity from another The arguments @src and @dest can be the same value. the source the other source the destination Obtains a string representaton of a vector. the string. Free with g_free() the source The return bitfield, or 0 if invalid the values we want to add to the bitfield A helper GObject to use for accessing colord information, and to be notified when it is changed. See also: #CdDevice These helper functions provide a simple way to use the async functions in command line tools. See also: #CdClient Functions to manipulate color values. A helper GObject to use for accessing colord devices, and to be notified when it is changed. See also: #CdClient These helper functions provide a simple way to use the async functions in command line tools. See also: #CdDevice This object represents .ti1 and .ti3 files which can contain raw or normalized sample data. A GObject to use for common maths functionality like vectors and matrices. A helper GObject to use for accessing colord profiles, and to be notified when it is changed. See also: #CdClient These helper functions provide a simple way to use the async functions in command line tools. See also: #CdProfile A helper GObject to use for accessing colord sensors, and to be notified when it is changed. See also: #CdClient These helper functions provide a simple way to use the async functions in command line tools. See also: #CdSensor Functions to manipulate spectral values. These helper functions provide a way to marshal enumerated values to text and back again. See also: #CdClient, #CdDevice Get the blackbody color for a specific temperature. If the temperature range is outside 1000K to 10000K then the result is clipped. TRUE if @temp was in range and the result accurate the temperature in Kelvin the destination color Get the blackbody color for a specific temperature. If the temperature range is outside 1000K to 10000K then the result is clipped. TRUE if @temp was in range and the result accurate the temperature in Kelvin the destination color some #CdColorBlackbodyFlags, e.g. %CD_COLOR_BLACKBODY_FLAG_USE_PLANCKIAN Convert from one color format to another. the source color the destination color Interpolate the RGB array to a different size. This uses the Akima interpolation algorithm unless the array would become non-monotonic, in which case it falls back to linear interpolation. An array of size @new_length or %NULL Input array the target length of the return array Checks the array for monotonicity. %TRUE if the array is monotonic Input array Creates a new RGB array. New array Clears a matrix value, setting all it's values to zero. the source Copies the matrix. The arguments @src and @dest cannot be the same value. the source the destination Gets the determinant of the matrix. the source Gets the raw data for the matrix. the pointer to the data segment. the matrix source Initialises a matrix. the destination matrix component value component value component value component value component value component value component value component value component value Determine whether all entries in the specified matrix are finite and not NaNs. %TRUE if isfinite() returns %TRUE for all values. the matrix to test Multiply (convolve) one matrix with another. The arguments @mat_src1 cannot be the same as @mat_dest, and @mat_src2 cannot be the same as @mat_dest. the matrix source the other matrix source the destination Normalizes a matrix The arguments @src and @dest can be the same value. the source matrix the destination matrix Inverts the matrix. The arguments @src and @dest cannot be the same value. %FALSE if det is zero (singular). the source the destination Multiplies a matrix with a scalar. The arguments @vec_src and @vec_dest can be the same value. the source the scalar the destination Sets the matrix to an identity value. the source Obtains a string representaton of a matrix. the string. Free with g_free() the source Multiplies a matrix with a vector. The arguments @vec_src and @vec_dest cannot be the same value. the matrix source the vector source the destination vector Gets the standard colorspace as a enumerated value. a #CdStandardSpace the standard colorspace, e.g. 'srgb'. Gets the standard colorspace as a string. the standard colorspace, e.g. 'srgb'. a #CdStandardSpace