Gimp.Image.prototype.convert_color_profile_from_file
function convert_color_profile_from_file(file: Gio.File, intent: Gimp.ColorRenderingIntent, bpc: Boolean): Boolean {
// Gjs wrapper for gimp_image_convert_color_profile_from_file()
}
Convert the image's layers to a color profile
This procedure converts from the image's color profile (or the default RGB or grayscale profile if none is set) to an ICC profile specified by 'file'. Only RGB and grayscale color profiles are accepted, according to the image's type.
Since 2.10
- file
The file containing the new color profile.
- intent
Rendering intent.
- bpc
Black point compensation.
- Returns
TRUE on success.