{"library":"bmp-ts","type":"library","category":null,"description":"bmp-ts is a pure TypeScript library designed for encoding and decoding BMP image files. It currently stands at version 1.0.9, with a release cadence focused on addressing bug fixes and minor enhancements. The library distinguishes itself by offering comprehensive support for all common BMP bit depths, including 1-bit, 4-bit, 8-bit, 16-bit, 24-bit, and 32-bit images. It provides granular control over BMP header properties during the encoding process and offers an optional `toRGBA` conversion during decoding for compatibility with other image processing libraries. While it supports various compression methods for decoding, a key limitation is the lack of compression support during encoding, meaning output files will always be uncompressed.","language":"javascript","status":"active","version":"1.0.9","tags":["javascript","bmp","1bit","4bit","8bit","16bit","24bit","32bit","encoder","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install bmp-ts","imports":["import bmp from 'bmp-ts';","const bmp = require('bmp-ts').default;","import type { BmpData, BmpHeader } from 'bmp-ts';"]},{"cmd":"yarn add bmp-ts","imports":[]},{"cmd":"pnpm add bmp-ts","imports":[]}],"homepage":null,"github":"https://github.com/hipstersmoothie/bmp-ts","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/bmp-ts","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/bmp-ts/compatibility"}}