JDeli is able to read and write images as HEIC files, giving a complete HEIC converter between HEIC file format and lots of other image file formats.
JDeli can do this in ONE step with the convert method or separately read or write the HEIC image if you want to process the image in Java.
java -jar jdeli.jar --convert heic "inputFileOrDir" "outputDir"
JDeli.convert(File inFile, File outFile); JDeli.convert(InputStream inFile, OutputStream outfile, String format); byte outputData=JDeli.convert(byte inputData, String format);
An additional set of methods allow values to be passed in which can give more control over conversion, depending on the image formats being converted (ie different image compression options).
Would you like to try it for yourself? Sign up for a free trial here.