Add support for new renderImage and renderVideo dataSources
Opened this issue · 2 comments
bryanbraun commented
The renderImage
and renderVideo
plugins would be a bit more flexible if they accepted other dataSources
like:
- UInt8ClampedArray
- ArrayBuffer
- We would need to convert it into a UInt8ClampedArray before we could put it on our canvas (see https://jameshfisher.com/2020/03/01/how-to-write-an-arraybuffer-to-a-canvas/).
These dataSources would add support for additional use cases, including:
KonradLinkowski commented
Hi @bryanbraun is it still an issue? I can look into this if so :)
bryanbraun commented
Yes, @KonradLinkowski, it's still available if you want to give it a shot!