Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

image-to-bmp

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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.

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

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.

FAQs

Package last updated on 21 Jul 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts