Monday, 13 March 2017

Creating 16 bit greyscale PNGs in Node.js out of an array

I'm generating PNGs in Node.js using two dimensional arrays. I was using Jimp but it only generates images with an 8 bit depth. This causes visible bands of colour (see here). Is there a node.js library for generating images like this with a higher bit depth?



via Alex Waese-Perlman

No comments:

Post a Comment