Creates in-memory monochrome bitmaps and offers some basic drawing operations.
I created this package to be used in a larger project I am working on at work.
Download and License
See the npm and GitHub pages.
- Create a greyscale bitmap in a node.js Buffer.
- Use 1, 2 or 4 bytes per pixel, in big or little endian.
- Basic drawing operations
- Set individual pixels to greyscale colors.
- Filled rectangle with border
- Rectangle filled with a horizontal gradient.