It can be frustrating when you have a picture in a file format that you can’t easily use. Converting your HEIC file to JPG will create a version of your file that is compatible. You shouldn’t delete your original file or just rename it. This guide shows you what happens after a HEIC file has been converted to JPG. We have used a public test image so you can understand why the number of images you download can matter. To open the converter you will need a non-sensitive HEIC file.
We used the example.heic file in the examples folder of the official strukturag/libheif repository. This was saved locally as libheif-example.heic. This is a public test file provided by the software. We made sure this was a true HEIF image file by decoding the main image locally. This showed us a row of buildings along a river. There was also a second image of a building surrounded by flowering branches.
The source file matters as we can see from our completed run that there were 2 images in this HEIC file. This means there were 2 separate download links for the JPG versions. We saved both of these images. Both were JPEG images with the dimensions of 1280 x 854 pixels. The first image was 465,256 bytes and the second was 492,400 bytes.
Screenshot of the HEIC to JPG converter with the Add files option, Quality and Convert to JPG button.
This tutorial was created by the publisher and was a true test. We used the default setting of High (recommended). We didn’t test all of the quality options, a large batch of images, phone specific metadata or offline usage.
Make sure you have your source file to hand. If the converted file isn’t in the right orientation, has unexpected colours or lacks the detail you need for your next use you can always go back to your original. A JPEG version can be useful but shouldn’t be a reason to delete your source file.
Click Add files and select your HEIC. We selected the row with our libheif-example.heic file. This was 701KB (rounded). Make sure the name of the file you have selected is correct. If you have multiple exports or duplicate downloads in your folder this will help. Just because you have selected a file doesn’t mean it will work. The file has to be added to the list and then the output created.
Screenshot of the public libheif-example.heic test file being selected. Quality has been left as High (recommended).
We left the Quality option as High (recommended). This helps to keep things simple for your first test. You can always test other quality options later. Just make sure you know which quality option you have used for each output and have a look at the images you have saved.
Click Convert to JPG. Whilst the tool was running the buttons became disabled. We waited for the message to show we had completed and the download links appeared. Don’t select another source file or close the tab just because the button has changed. The disabled buttons just mean the tool is running.
It can be useful to make sure that your source file is truly a HEIC/HEIF file. Just renaming a file to .heic won’t make it a valid test image. Just like renaming a HEIC file to .jpg won’t make it a JPEG. We made sure our sample file was the correct file type.
Whilst the site claims to run in the browser we have just made sure we can see the conversion taking place and that we have downloaded the files. We have intentionally used a public and non-sensitive test file. If you are using personal images keep in mind your own sharing policies and organisational requirements.
The examples directory has a COPYING file which shows that the examples software and documentation are licensed under MIT. We have noted the source of the repository to keep things transparent. We have used the test file provided. The screenshots have been taken to show you the buttons, file names and download links.
The completed screen showed us that 2 photos had been converted from 1 HEIC file. Below this we had 2 download links. The first was libheif-example-1.jpg (454KB) and the second was libheif-example-2.jpg (481KB). The numbers in the file names were important. If we had only downloaded the first file we wouldn’t have downloaded all of the outputs from this test file.
Click the download links you need. We downloaded both files. We checked that they were both JPEG images with the dimensions of 1280 x 854 pixels. The first file was 465,256 bytes and the second was 492,400 bytes. The file sizes shown in the interface are rounded in KB. When we checked the downloaded files we could see the exact byte sizes.
Once you have downloaded the images open them. In our test the first file showed us the row of buildings along the river. The second showed us the building surrounded by blossoms. This helped us to see that these were 2 separate images. We could also see the orientation and framing.
Don’t assume that all HEIC files will give you 2 JPEG files. Just make sure you are reading the message and counting the number of download links. There may be more than 1 image in the container. Make sure you check your output against your source file and intended use.
If you are creating an attachment for someone else make sure your downloaded files have clear names. Keep the .jpg file extension. It can be useful to keep them in a simple numbered order if there are multiple images. Don’t overwrite any previous JPEG files that have the same base name. Keeping your original files and converted files in separate folders can help with this.
Whilst we have checked the conversion has taken place we should also make sure the file works in the next application. Open or add one of the downloaded JPEG files to your editor, document or upload. This will help give a more relevant compatibility test.
A successful HEIC to JPG conversion will give you a usable JPEG file. However, this doesn’t mean all of the features from your source container will be included. We have checked that we have 2 images in our output, they are the correct format, dimensions and visible. We haven’t checked that the location metadata, depth, editing history or any other additional data has been kept. If you need any additional features make sure you check this.
Check the areas that matter to you. If you have a landscape image you may want to quickly check the detail and colours. If you have an image of a diagram or document you may need to check the text and lines. Check the image at the size it will be used. Sometimes a thumbnail can look good but the text may be too blurry to read in a larger document.
Don’t assume that your file will be smaller. Our 2 JPEG files were larger than the HEIC test file. This doesn’t mean the conversion has failed. It just means they are different. If you have a strict limit on your upload portal check the size of the downloaded files. Only use an extra resizing/compression process if you need to. Once you have done this check the image again.
If you are having issues decoding your source make sure you have a full image file. If the file isn’t opening in a compatible viewer this can cause issues. This can be due to incomplete download, an unsupported version or incorrect renaming. Don’t assume why the error has occurred. Don’t keep trying to run the tool with the same input that isn’t working.
Overall we can see that we have had a successful conversion. We have 1 true HEIC file with High quality. We have 2 JPG outputs. Both files downloaded were valid and had the dimensions of 1280 x 854 pixels. We have used the official libheif example file. The screenshots show us exactly how the tool was used. Make sure you keep your original file, choose a quality intentionally, download all of the outputs you need and check the downloaded files. Give it a try here.