LongYinan
LongYinan
- [ ] Convert into monorepo - [ ] Deno binding
WebAssembly could be built via `wasm-bindgen`.
Align the API in `node-canvas`: https://github.com/Automattic/node-canvas#pdf-output-support
Roadmap
# 0.1. The first usable version ## Canvas - [x] createCanvas - [x] getContext - [x] png - [x] jpeg - [x] svg - [x] pdf - [x] avif -...
https://github.com/servo/pathfinder
Ref: https://docs.rs/gif ```ts // https://docs.rs/gif/0.11.2/gif/enum.ExtensionData.html const gifCanvas= createGifCanvas(1024, 768, Extensions) const ctx = gifCanvas.createFrame() // raw canvas rendering context gifCanvas.encode() // gif buffer Promise ```
For example, I want to compare the compress ratio between different algorithms
https://www.typescriptlang.org/docs/handbook/enums.html#const-enums
## Expected Images are identical ## Actual behaviour The green color of texts were changed after decode/encode by image-rs ## Reproduction steps ```rs use std::error; use std::fs; use image::load_from_memory; type...