JDeli is able to read and write images as BMP files, giving a complete BMP converter between BMP file format and lots of other image file formats.
JDeli can do this in ONE step with the convert method or separately read or write the BMP image if you want to process the image in Java.
Convert images to BMP from Command Line or another language
java -jar jdeli.jar --convert bmp "inputFileOrDir" "outputDir"
Convert into BMP or from BMP image file in Java
JDeli.convert(File inFile, File outFile);
JDeli.convert(InputStream inFile, OutputStream outfile, String format);
byte outputData=JDeli.convert(byte inputData, String format);
An additional set of methods allow values to be passed in which can give more control over conversion, depending on the image formats being converted (ie set compression level in JPG files).
Multiple steps method for converting to or from BMP file format
2. Process image