You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Paint the region of the image argument specified by the source rectangle on the region of the rendering context's output bitmap specified by the destination rectangle, after applying the current transformation matrix to the destination rectangle.
https://html.spec.whatwg.org/multipage/canvas.html#drawing-images
CanvasRenderingContext2D has a well-defined colorspace, defaulting to
srgb
, and I was pleased to see (although in a Note):But the description quoted above does not clearly state
Paint the region
is affected by the context colorspaceIs the bitmap assumed to already be in whatever colorspace was used to establish the 2D context? If so, where is that defined?
The text was updated successfully, but these errors were encountered: