Images and Pixel Data

drawImage() accepts an image (SVG included), a video frame, a canvas, an ImageBitmap or a VideoFrame. Serve these listings over HTTP (npx serve): opened from disk, Chrome 154 1 treats the image as cross-origin and refuses to read its pixels back.

Subsections