Amy Pearson Amy is the product lead for JDeli with expertise in image code, Java, web development, and cloud computing. She focuses on JDeli and has also contributed to JPedal, cloud services, and support. Outside work, she enjoys gaming, F1, and music.

How to Convert AVIF to JPG in Bulk (Tutorial)

1 min read

bulk convert avif to jpg

bulk convert avif to jpg

If you’re working with a large number of AVIF files, converting them to JPG in bulk can streamline your workflow, especially when the JPG format is required for multiple applications.

You can read, write and convert AVIF files in Java with JDeli, our pure Java library.

AVIF (AV1 Image File Format) is a modern image format offering superior compression efficiency compared to JPEG and PNG. Converting images to AVIF results in significantly smaller file sizes with high visual quality. This leads to faster loading times and reduced bandwidth use on the web and other platforms.

In this article, I’ll show you how to convert AVIF images to JPG using Java and JDeli, making your files easier to work with. JDeli stands out as one of the most powerful Java libraries for handling and manipulating images.

Bulk convert AVIF to JPG 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 AVIF to JPG in one line of code

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

Using File


Using InputStream and OutputStream

Using byte[]

Configure Output Settings
You can use this option to specify an EncoderOptions object for configuring output settings such as image compression.

 

How to bulk convert AVIF to JPG from the command line

You can turn PNG to JPG using command line or bash, bat, and PowerShell scripts. This method also enables JDeli to be invoked from any programming language that supports creating a child process.

In this tutorial you learned how to bulk convert AVIF to JPG in bulk. JDeli has AVIF support for reading and writing as well, you read our documentation to find out more.



Our software libraries allow you to

Convert PDF to HTML in Java
Convert PDF Forms to HTML5 in Java
Convert PDF Documents to an image in Java
Work with PDF Documents in Java
Read and Write AVIF, HEIC, WEBP and other image formats
Amy Pearson Amy is the product lead for JDeli with expertise in image code, Java, web development, and cloud computing. She focuses on JDeli and has also contributed to JPedal, cloud services, and support. Outside work, she enjoys gaming, F1, and music.

JDeli: The Memory-Efficient & Performance Replacement for Java ImageIO

JDeli is the industry-leading, high-performance replacement for the default javax.imageio.ImageIO package. It resolves common issues associated with the standard library, offering up to 7X...
Amy Pearson
2 min read