- public void add_metadata (string key, string value)
Sets an item of data to the profile metadata, overwriting it if it
already exists.
- public bool create_default () throws Error
Creates a default sRGB ICC profile.
- public bool create_default_full (IccLoadFlags flags) throws Error
Creates a default sRGB ICC profile.
- public bool create_from_edid (double gamma_value, ColorYxy red, ColorYxy green, ColorYxy blue, ColorYxy white) throws Error
Creates an ICC profile from EDID data.
- public bool create_from_edid_data (Edid edid) throws Error
Creates an ICC profile from EDID data.
- public unowned ColorXYZ get_blue ()
Gets the profile red chromaticity value.
- public bool get_can_delete ()
Finds out if the profile could be deleted.
- public unowned string get_characterization_data ()
Gets any characterization data used to build the profile.
- public unowned string get_checksum ()
Gets the profile checksum if one exists.
- public Colorspace get_colorspace ()
Gets the profile colorspace
- public void* get_context ()
Return the cmsContext instance used locally.
- public unowned string get_copyright (string locale) throws Error
Gets the profile copyright.
- public DateTime get_created ()
Gets the ICC creation date and time.
- public unowned string get_description (string locale) throws Error
Gets the profile description.
- public unowned string get_filename ()
Gets the filename of the ICC data, if one exists.
- public unowned ColorXYZ get_green ()
Gets the profile green chromaticity value.
- public void* get_handle ()
Return the cmsHPROFILE instance used locally.
- public ProfileKind get_kind ()
Gets the profile kind.
- public unowned string get_manufacturer (string locale) throws Error
Gets the profile manufacturer.
- public HashTable<void*,void*> get_metadata ()
Gets all the metadata from the ICC profile.
- public unowned string get_metadata_item (string key)
Gets an item of data from the ICC metadata store.
- public unowned string get_model (string locale) throws Error
Gets the profile model.
- public GenericArray<unowned ColorSwatch> get_named_colors ()
Gets any named colors in the profile.
- public unowned ColorXYZ get_red ()
Gets the profile red chromaticity value.
- public GenericArray<unowned ColorRGB> get_response (uint size) throws Error
Generates a response curve of a specified size.
- public uint32 get_size ()
Gets the ICC profile file size
- public Bytes get_tag_data (string tag) throws Error
Returns the raw data for the specific tag.
- public string[] get_tags () throws Error
Returns the internal tag table.
- public uint get_temperature ()
Gets the ICC color temperature, rounded to the nearest 100K.
- public GenericArray<unowned ColorRGB> get_vcgt (uint size) throws Error
Gets the video card calibration data from the profile.
- public double get_version ()
Gets the ICC profile version, typically 2.1 or 4.2
- public Array<ProfileWarning> get_warnings ()
Returns any warnings with profiles
- public unowned ColorXYZ get_white ()
Gets the profile white point.
- public bool load_data (uint8[] data, IccLoadFlags flags) throws Error
Loads an ICC profile from raw byte data.
- public bool load_fd (int fd, IccLoadFlags flags) throws Error
Loads an ICC profile from an open file descriptor.
- public bool load_file (File file, IccLoadFlags flags, Cancellable? cancellable = null) throws Error
Loads an ICC profile from a local or remote file.
- public bool load_handle (void* handle, IccLoadFlags flags) throws Error
Set the internal cmsHPROFILE instance.
- public void remove_metadata (string key)
Removes an item of metadata.
- public Bytes save_data (IccSaveFlags flags) throws Error
Saves an ICC profile to an allocated memory location.
- public bool save_default (IccSaveFlags flags, Cancellable? cancellable = null) throws Error
Saves an ICC profile to the default per-user location.
- public bool save_file (File file, IccSaveFlags flags, Cancellable? cancellable = null) throws Error
Saves an ICC profile to a local or remote file.
- public void set_characterization_data (string data)
Sets the characterization data used to build the profile.
- public void set_colorspace (Colorspace colorspace)
Sets the colorspace kind.
- public void set_copyright (string locale, string? value)
Sets the profile _copyright for a specific locale.
- public void set_copyright_items (HashTable<void*,void*> values)
Sets the profile copyrights for specific locales.
- public void set_created (DateTime creation_time)
Sets the ICC creation date and time.
- public void set_description (string locale, string? value)
Sets the profile description for a specific locale.
- public void set_description_items (HashTable<void*,void*> values)
Sets the profile descriptions for specific locales.
- public void set_filename (string filename)
Sets the filename, which may be required if the ICC profile has been
loaded using load_fd from a disk cache.
- public void set_kind (ProfileKind kind)
Sets the profile kind.
- public void set_manufacturer (string locale, string? value)
Sets the profile manufacturer for a specific locale.
- public void set_manufacturer_items (HashTable<void*,void*> values)
Sets the profile manufacturers for specific locales.
- public void set_model (string locale, string? value)
Sets the profile model for a specific locale.
- public void set_model_items (HashTable<void*,void*> values)
Sets the profile models for specific locales.
- public bool set_tag_data (string tag, Bytes data) throws Error
Sets the raw data for the specific tag.
- public bool set_vcgt (GenericArray<ColorRGB> vcgt) throws Error
Sets the Video Card Gamma Table from the profile.
- public void set_version (double version)
Sets the profile version.
- public string to_string ()
Returns a string representation of the ICC profile.