ColorProfile.from_icc_profile


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "2.10" ) ]
public ColorProfile.from_icc_profile (uint8[] data) throws Error

This function opens an ICC color profile from memory.

On error, null is returned and throws is set.

Parameters:

data

The memory containing an ICC profile

length

length of the profile in memory, in bytes

Returns:

the ColorProfile, or null.