Gimp.ColorProfile.prototype.get_icc_profile

function get_icc_profile(): [return_value: ByteArray, length: Number(gsize)] {
    // Gjs wrapper for gimp_color_profile_get_icc_profile()
}
  

This function returns profile as ICC profile data. The returned memory belongs to profile and must not be modified or freed.

Since 2.10

return_value

a pointer to the IIC profile data.

length

return location for the number of bytes