We do support proper serialization and deserialization of ImageBitmap with named color spaces (srgb, e-srgb, linear-rgb, p3, rec2020), but we do not have a proper mechanism in place to store and retrieve the color space of the ImageBitmap if it is arbitrary. This happens when ImageBitmap is created from, for example, an image in ProPhoto and the colorSpaceConversion tag is set to "preserve".
To do this, we need to add a new member to SerializedColorSpace and move from there with storing and retrieval of the respective ICC profile.
Comment 1 by zakerinasab@chromium.org
, Oct 24Owner: zakerinasab@chromium.org