Skip to content

Templarian/image-to-bmp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

original 0.6 and 1

Technical Details

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

Why?

Quick utility to make assets for monochrome displays.