Usage in Node and a way to pass in a Buffer / a Base64 string of image data
TomasHubelbauer opened this issue · 1 comments
TomasHubelbauer commented
Hi, first off, excuse my ignorance, but it looks like this library is aimed at the browser only? Is it possible to use it from Node? When I tried with the latest version, I got a not-a-constructor error. Perhaps I need to use a different way to require
the module and the constructor is not the default export?
If this library is usable from Node, I'd like to follow up by inquiring about the possibility of passing a Buffer of image data or a Base64 string of image data to addFrame
. Is this something you plan on supporting?
cuixiping commented
You can convert your Buffer / Base64 to an ImageData object.