It is JDeli with our ImageIO plugin included so that you can easily download and run your code without having to refactor to work with JDeli.
Although this makes things easier, if you want to reap all the benefits of JDeli, it is recommended you refactor your code to use JDeli.
Just as you would with JDeli you need to download the jar, if you don’t already have it you can download the trial.
You then need to add it to your modulepath.
The jar has been made so that you can choose which formats ImageIO will use JDeli for. It comes with our HEIC encoder and decoder pre-registered so ImageIO will pick up JDeli for writing and reading HEIC.
You can register more formats:
//registering all readers ImageIOSupport.registerReaders(ImageIOSupport.InputFormat.values()); //registering a single reader ImageIOSupport.registerReader(ImageIOSupport.InputFormat.PNG); //registering all Writers ImageIOSupport.registerWriters(OutputFormat.values()); //registering a single Writer ImageIOSupport.registerWriter(OutputFormat.PNG);
To unregister formats:
//unregistering all readers ImageIOSupport.unregisterReaders(ImageIOSupport.InputFormat.values()); //unregistering a single reader ImageIOSupport.unregisterReader(ImageIOSupport.InputFormat.PNG); //unregistering all Writers ImageIOSupport.unregisterWriters(OutputFormat.values()); //unregistering a single Writer ImageIOSupport.unregisterWriter(OutputFormat.PNG);
You can now run your ImageIO code and see the difference!
Find out more about our ImageIO Plugin.
Have more questions? Ask us on Discord