Link

Java BMP Writer

JDeli includes a BMP Writer to write BMP files in Java. The BMP Encoder is written in 100% Java with no dependencies.

Key information:

  • 100% Java solution. No dlls or dependencies on native code
  • ColorSpace: RGB, GrayScale and Indexed images

Quick start or to replace in existing code using ImageIO:

JDeli.write(myBufferedImage, "bmp", outputStreamOrFile);

or

byte[] outputData = JDeli.write(myBufferedImage, "bmp");

New method for quick and simple usage

JDeli.write(myBufferedImage, OutputFormat.BMP, outputStreamOrFile)

OutputFormat allows setting of any supported Image Format

For complete control of output:

final BmpEncoderOptions options = new BmpEncoderOptions();


//write out
JDeli.write(myBufferedImage, options, outputStreamOrFile);

BmpEncoderOptions allows setting of specific options.

Various image processing operations can be conducted on the image, detailed documentation can be found here.