https://github.com/templarian/image-to-bmp
Convert image to 1 bit depth BMP
https://github.com/templarian/image-to-bmp
1-bit bmp iot monochrome node
Last synced: about 1 month ago
JSON representation
Convert image to 1 bit depth BMP
- Host: GitHub
- URL: https://github.com/templarian/image-to-bmp
- Owner: Templarian
- License: mit
- Created: 2022-07-20T03:52:16.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-21T02:56:31.000Z (almost 3 years ago)
- Last Synced: 2025-04-16T02:47:23.164Z (about 1 month ago)
- Topics: 1-bit, bmp, iot, monochrome, node
- Language: JavaScript
- Homepage:
- Size: 219 KB
- Stars: 6
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# image-to-bmp
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.
## Usage
```
npx image-to-bmp file.png
npx image-to-bmp file.png 1.2
npx image-to-bmp
```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.