image-to-bmp
v1.0.0
Published
Convert image to 1 bit depth BMP. File formats `.jpg`, `.png`, `.bmp`, `.tiff`, and `.gif`. Thanks to the [Jimp](https://www.npmjs.com/package/jimp) library.
Downloads
9
Readme
image-to-bmp
Convert image to 1 bit depth BMP. File formats .jpg
, .png
, .bmp
, .tiff
, and .gif
. Thanks to the Jimp library.
Usage
npx image-to-bmp file.png
npx image-to-bmp file.png 1.2
npx image-to-bmp <filename> <brightness>
Brightness can be 0 to 2.
Note: This assumes you have nodejs installed.
Installing globally is also an option:
npm install -g image-to-bmp
Example
Technical Details
Write bmp top to bottom for microcontrollers or low memory chips.
Why?
Quick utility to make assets for monochrome displays.