Saturday 11 March 2017

How to convert a Uint8ClampedArray array into a png image in node.js?

I am using this library to read png images, but in general

https://www.npmjs.com/package/pngjs2

if I have a Uint8ClampedArray, a width and height of the array, how can I convert that and save it as a png image in node.js?

Thanks



via omega

No comments:

Post a Comment