Mark Stephens Mark has been working with Java and PDF since 1999 and is a big NetBeans fan. He enjoys speaking at conferences. He has an MA in Medieval History and a passion for reading.

What is BMP?

1 min read

BMP icon

BMP icon

What is a BMP image file?

A BMP is a bitmap image file format to store monochrome and colour images. It was originally created by Microsoft for computers running Windows.

It was primarily designed for Window platforms although it also works on other platforms. It is not supported in Web browsers.

The file name extension for BMP files is: .bmp

Here are some other questions about BMP you might also want to ask. If you have any other questions, please add a comment and we will try to answer.

What is a BMP file used for?

BMP is used for storing bitmap images. It is commonly used on Windows systems but less so on Linux, Mac and other platforms. It does not compress the data (unlike PNG or JPG) so it creates much larger files and it is not supported by web browsers. So there are better options (on Windows and other platforms). So it is less popular than PNG, JPEG, TIFF or new standards such as Heic or WebP.

Why is BMP popular?

Microsoft used BMP as the default for several application in Windows. So, many people are using Heic without even realising it.

How can I learn about BMP?

You read up on the BMP file format here.

Is it possible to convert BMP to JPG?

Yes. You can convert BMP to JPG and JPG to BMP. You will lose any transparency if you convert from PNG and may need to remember that BMP offers less compression than JPG.

Is it possible to convert BMP to PDF?

Yes. You will need  to print the BMP (most printers offer a print as PDF), export as PDF in a graphics package such as Mac Preview or use a third party tool such as our JDeli library.

How to open BMP files in Java?

ImageIO (the built-in Java Image library) includes support for BMP images.

There are several commercial BMP solutions available. Our JDeli library allows you to read, write and display BMP files.

 



Are you a Java Developer working with Image files?

Why do developers choose JDeli over free alternatives?

  1. Works with newer image formats such as AVIF, HEIC, JPEG XL, WEBP
  2. Better support than alternatives for JPEG, PNG, TIFF.
  3. Prevent JVM crashes caused by native code in other image libraries
  4. Better performance than other popular Java image libraries
Mark Stephens Mark has been working with Java and PDF since 1999 and is a big NetBeans fan. He enjoys speaking at conferences. He has an MA in Medieval History and a passion for reading.

What is JPEG XL?

Amy Pearson
1 min read

What is JBIG2?

JBIG2 is a lossless and lossy compression standard for bi-level images like scanned documents, offering high compression ratios by identifying and encoding similar shapes...
Amy Pearson
55 sec read