Java BMP Reader

JDeli includes a BMP Reader to read BMP images into Java. The BMP Decoder is written in 100% Java with no dependencies.

Key information:

  • 100% Java solution. No dlls or dependencies on native code
  • Supports Bilevel, Grayscale and RGB images

Quick start:

JDeli can automatically detect the file type and will use the BMP File Reader

BufferedImage image =;


BmpDecoder decoder = new BmpDecoder();
BufferedImage image =;

See the full Javadoc.

Performance comparisons:

These figures were generated using jmh (as documented on our blog) with a standard set of images (also documented). They should be easy to replicate if you wish to validate, the code is on GitHub.

The higher the number, the better.

Benchmark Mode Cnt Score Error Units
ImageIO throughput 25 56.383 ± 0.373 ops/s
JDeli throughput 25 171.242 ± 0.124 ops/s

Tested on 2020 13inch M1 MacBook Pro using JDK

Start Your Free Trial

Customer Downloads