• Home
Name Date Size #Lines LOC

..--

current/07-Sep-2024-7866

proposed/07-Sep-2024-162120

README.mdD07-Sep-2024588 1713

README.md

1JS image decode
2===============
3
4Background
5----------
6
7It is currently cumbersome to go from an encoded Blob or ArrayBuffer of image bytes to
8an ImageData (Uint8ClampedArray) for further image processing.
9See current/index.html for an example where a user can select an image from disk
10and have JS turn it into a grayscale version (no backend server).
11
12
13Proposal
14--------
15We propose... See proposed/index.html for an API that makes this much cleaner.
16It uses the CanvasKit WASM library under the hood to provide functionality, but
17the intent is for Web Browsers to support this natively.