Skip to content

Compatibility

Runtime

  • Node.js: >=22
  • Package formats: ESM + CommonJS
  • Types: bundled .d.ts declarations

Decode Support

FeatureStatus
1-bit BMPSupported
4-bit BMPSupported
8-bit BMPSupported
15-bit BMPSupported
16-bit BMPSupported
24-bit BMPSupported
32-bit BMPSupported
RLE4Supported
RLE8Supported
CORE/INFO/V4/V5 DIB handlingSupported

Encode Support

FeatureStatus
1-bit outputSupported
4-bit outputSupported
8-bit outputSupported
16-bit outputSupported
24-bit outputSupported
32-bit outputSupported
Orientation control (top-down, bottom-up)Supported
Palette-aware indexed outputSupported

Guarantees

  • Fixture-backed decoding and encoding behavior.
  • Quality gate in CI via pnpm check on clean checkout.
  • Changeset-based releases with changelog tracking and provenance publishing.

MIT Licensed