Preparing for system design interviews?  Try bugzed.com →

BMP Image Encoder/Decoder

JSON →
library 1.0.9 ·javascript
verified Jun 17, 2026

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.

total hits 18
actors 6 distinct systems
last hit 12d ago ByteDance
ByteDance
5
GPTBot
4
Amazonbot
3
Script
1
Search engines
1
Humans
1

top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · 🇨🇳 China · 🇩🇪 Germany