JDeli is our Image library, written in Java. It started as a bit of a spin-off from JPedal (our Java PDF Viewer and library). We had to write Java codecs to get around issues with existing image libraries such as ImageIO, JAI and jj2000.
It turned out we were not alone, and other Java developers also wanted a more complete, pure Java solution to read and write Tiff, PNG, JPEG and JPEG2000. So we spun the code off into a separate product with JDeli.
The original purpose of JDeli was to provide a complete replacement for JAI (no longer developed), jj2000 (not complete enough for our needs) and ImageIO (too many bugs and issues with native memory due to native code). We also designed the API to look very similar to ImageIO so that developers could easily switch.
In the last 12 months, we have extended it in 3 specific directions to provide:-
1. A much wider range of image formats.
JDeli now supports a large number of additional formats and our developers are currently working on support for the Heif image file format.
2. Image translation and processing capabilities
You can add your own Image processing operations if you cannot find the exact function you need ( we already offer blur(), sharpen(), scale() and many other operations which can be chained together).
3. Easier use from other languages
JDeli is written in Java but it is designed to be usable from other languages and the command line. This code would convert directory images to tiff files from your command line.
java -jar jdeli.jar --convert tiff "inputFileOrDir" "outputDir"
We are now figuring what we want to add, and that is where you come in…
So let us know how you would like to see JDeli develop. What Image processing options would you like to see built-in? What image file format should we add after Heif? We want your ideas…..
Why use JDeli?
JDeli offers a range of advantages over ImageIO and alternatives, including:
- prevents heap related JVM crashes
- implements unsupported image formats
- reduce output file size
- improve read/write performance
- supports threading
- superior image scaling algorithms
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.