Gimp.ColorProfile.new_from_file

function new_from_file(file: Gio.File): Gimp.ColorProfile {
    // Gjs wrapper for gimp_color_profile_new_from_file()
}
  

This function opens an ICC color profile from file.

Since 2.10

file

a Gio.File

Returns

the Gimp.ColorProfile, or null. On error, null is returned and @error is set.