Amy Pearson Amy is a Java developer and member of the support team. Her main technical interests are JavaFX and Cloud. Out of hours she enjoys gaming and Virtual reality.

How to convert HEIC to JPG in bulk (Tutorial)

1 min read

Bulk conversion of heic to jpg

Bulk conversion of heic to jpg
If you’re dealing with a large collection of images in HEIC format, converting HEIC files to JPG in bulk can be a lifesaver. HEIC (High Efficiency Image Coding) is a format used by Apple and it is a proprietary image format used across all their devices.

However, it’s not always compatible with other technologies. This becomes a problem with use cases such as when Java developers want to integrate HEIC images into their existing applications.

In this article, I’ll guide you through the process of using Java to convert HEIC files to JPG format with JDeli, ensuring your images are accessible.

Convert HEIC to JPG in bulk using Java

  1. Download the JDeli trial jar.
  2. Process image if needed (scale, sharpen, lighten, watermark, etc)
  3. Write out BufferedImage as JPG image file

 

Export HEIC to JPG in one line of code

With the JDeli.convert() method you can save HEIC as JPG in just one line of code.

Using File


Using InputStream and OutputStream

Using byte[]

Configure Output Settings
This option allows you to specify an EncoderOptions object to configure output settings such as image compression.

 

How to bulk convert HEIC to JPG from the command line

You can convert bulk heic to jpg from command line or bash, bat, and powershell scripts. This method can also be used to invoke JDeli from any programming language that allows you to create a child process.

In this tutorial you learned how to convert HEIC to JPG in bulk, you can also have a look at our tutorials for more format conversions.



Are you a Java Developer working with Image files?

Why do developers choose JDeli over free alternatives?

  1. Works with newer image formats such as AVIF, HEIC, JPEG XL, WEBP
  2. Better support than alternatives for JPEG, PNG, TIFF.
  3. Prevent JVM crashes caused by native code in other image libraries
  4. Better performance than other popular Java image libraries
Amy Pearson Amy is a Java developer and member of the support team. Her main technical interests are JavaFX and Cloud. Out of hours she enjoys gaming and Virtual reality.

What is JPEG XL?

Amy Pearson
1 min read

What is JBIG2?

JBIG2 is a lossless and lossy compression standard for bi-level images like scanned documents, offering high compression ratios by identifying and encoding similar shapes...
Amy Pearson
55 sec read