1.0.0 • Published 2 years ago

image-to-bmp v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

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

calvin_and_hobbes

Technical Details

Write bmp top to bottom for microcontrollers or low memory chips.

Why?

Quick utility to make assets for monochrome displays.