Add convertToBlob() to canvas color management proposal |
|||
Issue description
convertToBlob() must be added to canvas color management proposal. The current IDL interface is as follows:
enum ImageColorSpace {
"srgb", // default
"rec2020",
"display-p3",
};
enum ImagePixelFormat {
"8-8-8-8", // default
"uint16",
};
dictionary ImageEncodeOptions {
DOMString type = "image/png";
unrestricted double quality = 1.0;
ImageColorSpace colorSpace = "srgb";
ImagePixelFormat pixelFormat = "8-8-8-8";
};
Promise<Blob> convertToBlob(optional ImageEncodeOptions options);
,
Jul 25
,
Sep 25
This is done. |
|||
►
Sign in to add a comment |
|||
Comment 1 by zakerinasab@chromium.org
, May 17 2018