leozdgao

Results 6 issues of leozdgao

It seems the example in readme.md is not working in `v1.0.0-rc2`, it's very confusing and I don't know how to use this in the right way. :cry: > Uncaught TypeError:...

Supplement API, some is missing from v0.1.0, and some from node-canvas extended API. ### Canvas API - [ ] toBuffer(), quality control for jpeg - [ ] toDataURL() ### CanvasRenderingContext2D...

API like `createCanvas` or `toBuffer` be used as async API maybe better for node, needs some test for this thought.

* Copy data everytime when read `imageData.data` * ~~Test cases that read `imageData.data` failed sometime with unexpected value~~ It looks like the issue with jest, replace to mocha just fixed...

That api like `ctx.getTransform`, matrix value is set by some other transform api like `scale`, `translate`..., the value passed by javascript to c++ has precision issue, and vise versa. Case...