Gimp.ColorProfile.new_from_icc_profile

function new_from_icc_profile(data: ByteArray): Gimp.ColorProfile {
    // Gjs wrapper for gimp_color_profile_new_from_icc_profile()
}
  

This function opens an ICC color profile from memory. On error, null is returned and @error is set.

Since 2.10

data

The memory containing an ICC profile

Returns

the Gimp.ColorProfile, or null.