new_srgb_trc_from_color_profile


Description:

[ Version ( since = "2.10" ) ]
public ColorProfile? new_srgb_trc_from_color_profile ()

This function creates a new RGB ColorProfile with a sRGB gamma TRC and this's RGB chromacities and whitepoint.

Parameters:

this

a ColorProfile

Returns:

the new ColorProfile, or null if this is not an RGB profile or not matrix-based.