Method

GimpImageconvert_color_profile_from_file

Declaration [src]

gboolean
gimp_image_convert_color_profile_from_file (
  GimpImage* image,
  GFile* file,
  GimpColorRenderingIntent intent,
  gboolean bpc
)

Description [src]

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.

Available since:2.10

Parameters

file GFile
 

The file containing the new color profile.

 The data is owned by the caller of the function.
intent GimpColorRenderingIntent
 

Rendering intent.

bpc gboolean
 

Black point compensation.

Return value

Returns: gboolean
 

TRUE on success.