[ Version ( since = "2.10" ) ]
public bool convert_color_profile_from_file (File file, ColorRenderingIntent intent, bool bpc)
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.
| this |
The image. |
| file |
The file containing the new color profile. |
| intent |
Rendering intent. |
| bpc |
Black point compensation. |
|
TRUE on success. |