ColorProfile.from_lcms_profile


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "2.10" ) ]
public ColorProfile.from_lcms_profile (void* lcms_profile) throws Error

This function creates a GimpColorProfile from a cmsHPROFILE.

On error, null is returned and throws is set. The passed lcms_profile pointer is not retained by the created ColorProfile.

Parameters:

lcms_profile

an LCMS cmsHPROFILE pointer

Returns:

the ColorProfile, or null.