Gimp.ColorProfile.get_lcms_format
@accepts(Babl.Object, guint32)
@returns(Babl.Object)
def get_lcms_format(format, lcms_format):
# Python wrapper for gimp_color_profile_get_lcms_format()
This function takes a #Babl format and returns the lcms format to be used with that format. It also returns a #Babl format to be used instead of the passed format, which usually is the same as format, unless lcms doesn't support format.
Note that this function currently only supports RGB, RGBA, R'G'B', R'G'B'A, Y, YA, Y', Y'A and the cairo-RGB24 and cairo-ARGB32 formats.
Since 2.10
- format
a #Babl format
- lcms_format
return location for an lcms format
- Returns