Link
Skip to main content

Image Reading

JDeli includes a large number of Image Readers which can open a wide range of file formats as a Java BufferedImage. Just copy and paste the examples into your code.

Getting started:

JDeli can automatically detect the image file format for any supported image file format. The image file can be accessed from a File, InputStream, or byte array.

BufferedImage image = JDeli.read(imageData); // byte[] imageData
BufferedImage image = JDeli.read(filePath); // File filePath
BufferedImage image = JDeli.read(inputStream); // InputStream inputStream

Note: For efficiency please pass your byte[] straight to our read method rather than wrapping in a ByteArrayInputStream
See the full Javadoc.

Currently, we support the following formats:


Get started with JDeli in 3 steps

  1. Fill in the form to download the trial jar →
  2. Copy the code snippets as instructed on the next page
  3. Build your solution using our docs

Learn more about JDeli

Start Your Free Trial