get_lcms_format


Description:

[ Version ( since = "2.10" ) ]
public static unowned Object? get_lcms_format (Object format, out uint32 lcms_format)

This function takes a Object format and returns the lcms format to be used with that format.

It also returns a Object 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.

Parameters:

format

a Object format

lcms_format

return location for an lcms format

Returns:

the Object format to be used instead of format, or null if the passed format is not supported at all.