Automattic / Automattic/node-canvas
[Question] Is there "fromBuffer" method?
Open
Feature
- Dominant language
- JavaScript
- Stars
- 10.7k
- Forks
- 1.2k
- Avg merge
- 4d 8h
- Merged PRs (30d)
- 1
Description
There is very useful and fast `toBuffer` method on canvas instance. But, is there somethign like `fromBuffer` method? I already have a buffer in rgb24 or rgb32 pixel format and I want to put it as image data on canvas. I noticed that putting it as `putImageData` is very slow, is there something equaly fast as `toBuffer`? Can I literally modify internal canvas's buffer from JavaScript environment?
Thanks.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.