[ Version ( since = "2.10" ) ]
public bool convert_color_profile (ColorProfile? profile, ColorRenderingIntent intent, bool bpc)
This procedure converts from the image's color profile (or the built-in profile if none is set) to the given color profile.
Make sure you use a valid color profile, according to the image's type (e.g. RGB or grayscale color profiles respectively for RGB or grayscale images).
| this |
The image. |
| profile |
The color profile to convert to. |
| intent |
Rendering intent. |
| bpc |
Black point compensation. |
|
true on success. |