Three years ago, we introduced our own Java Image Library to tackle the problems we were facing with ImageIO and JAI. We were frustrated with the slow and memory intensive implementations, and having to write patches to fix JAI JPEG2000 bugs.
Since then JDeli has come a long way. Having our own image library has allowed us to create a much simpler and faster solution that avoids many of the issues we were finding with JAI and ImageIO, as well as add our own functionality.
In recent months we have:
1. Added support for more image file types
When we first released JDeli it only included support for 4 image file types. It now support more than 10 different image formats. Since the release of JDeli 7 last year we have added support for reading SGI, WMF and GIF files and writing BMP files. The full list of file types supported by JDeli can be found on our website.
2. Made speed improvements for JPEG and JPEG2000 images
We have increased efficiency so that less memory is used when handling both JPEG and JPEG2000 image formats. This has resulted in substantial speed improvements.
3. Added static read and write methods
We have added static read and write methods to make it very easy to replace ImageIO usage with JDeli. The read method can open files with the the extensions jpg, jpeg, jp2, jpx, dcm, png, webp, sgi, rgb, tiff, psd and bmp. The write method compresses a BufferedImage into a png, jpeg or tiff.
4. Carried out a big code review
Old methods have been tidied up and unneeded code has been removed to make a cleaner and simpler code base. This has also reduced our technical debt which will make it much easier to add new functionality.
5. Made use of Java 8 features.
The latest major release now makes use of features in Java 8 to improve speed and quality.
All of these enhancements are the reason behind updating the version number to 8. We have lots of ideas for new functionality to add to JDeli 8. You can read about some of the ideas we have in our 2018 JDeli roadmap.
What features would you like to see in JDeli? Let us know in the comments.
IDRsolutions develop a Java PDF library, a PDF forms to HTML5 converter, a PDF to HTML5 or SVG converter and a Java Image Library that doubles as an ImageIO replacement. On the blog our team post about anything interesting they learn about.