Closed palemieux closed 2 weeks ago
Based on previous discussions, the intent is for toDataURL()
and toBlob()
to produce resources that best match the fidelity of the underlying canvas (subject to the limitations of the implementation and the requested format).
This statement could be added to the document.
From https://github.com/w3ctag/design-reviews/issues/917#issuecomment-1964765613
The used color space is a property of CanvasRenderingContext2D, but HTMLCanvasElement provides methods for exporting the canvas contents as an image (toBlob(), toDataURL()). Is the color space preserved during these operations? (again this also applies to wide gamut)