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.

3 reasons Java developers switch to JDeli from ImageIO

1 min read

ImageIO is build into the JDK and provides basic image support in Java. JDeli is a commercial image library for Java Developers from IDRsolutions. So why do developers use our library? We get asked this question regularly so here is our reply to this question…

1. JDeli has much better image support for JPEG and JPEG2000 than ImageIO

The original reason we wrote JDeli was our frustration with Java Image support, especially JPEG and JPEG2000 which we use in our JPedal Java PDF library. The support in ImageIO is incomplete, slow, buggy and uses lots of memory. It uses a patched copy of an old Open Source library called JJ2000.

After trying to hack this, we concluded it was time to write a clean, fast, modern Encoder/Decoder for JPEG and JPEG2000.

2. JDeli supports lots of additional image formats

We did the same for TIFF and PNG image file formats. We properly implemented all the TIFF sub-formats and we added options to compress PNG files.

We are currently testing our new release which will add support for Apple’s HEIF image file format.

We found that other developers had the same issues, so we put our code into a separate library (JDeli) for them.

Watch a video on how to Read and Write TIFF files in Java with JDeli

 

3. JDeli is pure Java and does not run out of native heap

A key reason for several Companies switching to JDeli is because they are using ImageIO on a server shared between multiple clients. Because ImageIO needs native heap, the server would regularly crash even though there was still lots of free Java heap.

As a pure Java solution, JDeli does not bring down the server and all the other users.

Any other advantages?

Because we wrote JDeli to replace ImageIO, we added a set of read and write methods which work exactly as they do with ImageIO. So switching over to JDeli becomes a simple search and replace operation.

We also added some nice new versions so you can gain precise control over the conversion when writing new code. There is also a set of image Processing Operations which can be applied at the same time.

The IDRsolutions website has lots of additional information for developers interested in finding out more about replacing ImageIO with JDeli.

Did you know...

IDRsolutions offers a whole range of online file converters to convert PDF and Microsoft Excel, Word and Office Documents to HTML5, SVG or image formats?

It is free to use for single file conversions and also includes Developer links if you want to use our commercial software for bulk conversions. Find out more on this page

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.

How to read HEIC image files in Java with…

In this article, I will explain how to read HEIC files into Java as a BufferedImage. ImageIO does not read HEIC file types so...
Mark Stephens
1 min read

How to convert WMF files to SVG in java…

This article will show you how to convert WMF files into SVG files using our JDeli Java Image library. What is WMF? WMF is...
Amy Pearson
1 min read

How to write WebP images in Java

In this article, I will walk you through how to write out images as WebP images in Java. ImageIO does not support WebP images...
Mark Stephens
1 min read

Leave a Reply

Your email address will not be published. Required fields are marked *

IDRsolutions Ltd 2020. All rights reserved.