You can easily replace ImageIO by just adding jdeli jar to your Java classpath. We recommend using JDeli methods for new code.
JDeli works the same way as ImageIO
BufferedImage image = ImageIO.read(imageFile);
BufferedImage image = JDeli.read(imageFile);
It can take either a File or a byte array as a parameter and returns a BufferedImage.
The read method can open files with the following extensions: JPG, JPEG, WEBP, SGI, JP2, RGB, JPX, TIFF, DCM, PSD, PNG, BMP, HEIC.
The full Javadoc can be viewed here.
If you are looking to not change your code you can always use our ImageIO Plugin.
Still need help? Send us your questions.