Convert HEIC photos and prepare a named ZIP for delivery
Review converted photos, name the final copies and check the ZIP and its inventory.
Keep the HEIC originals, convert a representative still image to JPEG, and open the actual result to check orientation, detail and any required capture date before you process the rest. In our trial, the default JPEG save dropped DateTimeOriginal, while an explicit EXIF copy preserved that field in both JPEGs. Give the approved files predictable sequence names, place them and an inventory in a ZIP, then reopen the ZIP and compare each included file with your checked copies before handing it to the recipient.
What to look for
Use this workflow when a recipient can work with JPEGs but you have HEIC still images, or when a folder of device-named photos must be delivered as a clearly labeled set. Opening a converted JPEG is an important first check. It helps you see whether its orientation, fine detail and intended capture date are usable. The archive needs its own review after conversion so the recipient gets the right copies and can tell what belongs in the set.
Ask what the receiving side actually expects. It could need the original size, enough detail for review, a maximum attachment size, or capture dates embedded in the files. Agree on the destination’s needs before choosing settings or deciding which information to carry into the delivery.

Why it happens
A HEIC-to-JPEG conversion decodes the source image and re-encodes it. The destination’s pixel content, dimensions and metadata are separate parts of the result. Saving an image at a similar size can still change detail. Copying a file can change filesystem dates while leaving embedded capture information intact. Check the EXIF field required for the handoff directly on the result.
Before you begin
Use still-first.heic and still-second.heic, generated locally with a real HEVC encoder from synthetic still images. The decoded dimensions are 900 by 600 and 960 by 720. They contain distinct synthetic DateTimeOriginal values, which let you check whether metadata crossed the conversion. Use the supplied JPEGs and ZIP as references for the complete practice run.
Keep the original images. The sample deliverable consists of launch_001.jpg and launch_002.jpg with launch-inventory.csv inside launch-delivery.zip. We chose the names before preparing the final copy so we could check the intended order and confirm which original produced each output. If a client specifies another pattern, document the mapping before converting the whole group.
Steps
Check the sources and write down the delivery requirements.
Open the two HEIC files in a decoder that supports their codec. In this test, the local decoder recognized both inputs as HEIF containing HEVC and reported the expected dimensions. The first source carries 2026:11:20 09:15:00 and the second carries 2026:11:20 11:20:00 in DateTimeOriginal. These are fixture dates, deliberately assigned so you can tell which record belongs to which image.
- Look at orientation and readable details in each original.
- Note whether the recipient wants embedded capture information, and handle fields such as location or identifying details according to the purpose of the delivery.
- The example copies the fixture’s EXIF.
- For your own files, decide exactly what is appropriate to include and inspect the exported metadata afterwards.
Make a representative JPEG and measure the metadata behavior.
The local test opened the first HEIC in Pillow with pillow-heif registered, decoded its pixels and saved JPEG at quality 85. A default save created launch-no-exif.jpg, which opened correctly and had the expected dimensions, but DateTimeOriginal was absent. That result demonstrated why visually checking the JPEG alone is insufficient when the date matters.
-
We exported a second copy with the source EXIF bytes explicitly supplied. In an environment with Pillow and pillow-heif installed, the core of the tested conversion is:
-
from PIL import Image from pillow_heif import register_heif_opener
-
register_heif_opener() with Image.open(“still-first.heic”) as source: source.convert(“RGB”).save( “launch_001.jpg”, “JPEG”, quality=85, exif=source.info[“exif”] )
-
The fixture has an EXIF block.
-
For a source without one, report the missing field or use documented information from the original capture workflow.
-
Confirm the date in the actual JPEG before repeating the conversion for the second image.
-
Review dimensions, visible quality and bytes in the saved copies.
Open the JPEGs in your usual viewer. Check that orientation and recognizable detail suit the destination and that the exported dimensions match what you asked for. The test retained both source dimensions. The first file went from 32,918 HEIC bytes to 29,551 JPEG bytes. The second went from 28,809 to 30,763 bytes. Both were converted at the same JPEG setting, and their size changes went in different directions.
- If your receiving limit requires changes, work from the original, adjust the settings deliberately, and inspect detail in the new export.
- Keep the initial accepted version until you can decide whether the smaller candidate is worth the trade-off.
- Recheck the embedded date on every version you might send.
Name the approved images and create the delivery archive.
Select the final JPEGs in the intended order and confirm the pairing with each source. Use the launch prefix and a stable sequence for this exercise. The first becomes launch_001.jpg and the second becomes launch_002.jpg. Keep the extension tied to the actual format and check that each filename occurs once. If you package copies in the site workspace, review their proposed paths while the originals are still available.
- The lab wrote a CSV inventory containing the filename, byte count, SHA-256 digest and DateTimeOriginal for each final JPEG.
- It used Python’s ZIP support to package the checked JPEG bytes and the inventory.
- Use that manifest to relate each file to its documented output.
- If you include other items in the archive, add them deliberately and check that the manifest matches the expected set.
Reopen the ZIP and check the copies inside it.
Extract into a separate folder or open the package in a viewer that lets you inspect each entry. Expect two JPEGs and launch-inventory.csv. Open both files and check the date field again. The lab compared the bytes, digests and embedded dates with the corresponding inventory rows. The ZIP was 60,910 bytes in this run.
- Send the ZIP with a short description of its contents and the naming pattern the recipient should follow.
- Keep the HEIC sources until the handoff is accepted.
- If a copy needs to be replaced, update the inventory and check the regenerated archive so the reader does not have to guess which image version it contains.
Check your result
Check the source and result side by side. Compare decoded dimensions and reopen the JPEG as a JPEG. Read its EXIF DateTimeOriginal and compare it with the source value, using the same field for both files. Check the default export as a control: the first image still opens, yet this field is absent. Check the named final JPEGs next. The verified values for both are listed in the measurement table.
For the package check, read the member names and use the inventory to compare each file’s exact size and digest. Open each archived JPEG and check the same date again. Compare the approved set with what the recipient is meant to receive. Extra previews, an earlier unverified export, or the draft ZIP can otherwise be included by mistake.
Downloads include the default JPEG with its capture-date field absent, the delivery ZIP and the CSV inventory. The pairings under Sample files connect each real HEIC to its checked JPEG.
| HEIC source | JPEG copy | HEIC bytes | JPEG bytes | Capture date in both files |
|---|---|---|---|---|
| still-first.heic | launch_001.jpg | 32918 | 29551 | 2026:11:20 09:15:00 |
| still-second.heic | launch_002.jpg | 28809 | 30763 | 2026:11:20 11:20:00 |
Common mistakes
Using a file’s Modified date as the capture date. Read DateTimeOriginal from the embedded EXIF on the actual saved image. Compare the same field in the original.
Assuming a successful JPEG save copied metadata. Read the output metadata before committing to the whole batch. The default save in the lab produced a readable JPEG with the capture-date field absent.
Expecting every JPEG to save space. Measure the output. One fixture shrank and the other grew. Look at appearance and requirements before choosing new compression settings.
Sending the file list without inspecting the archive. Reopen the ZIP and check each named copy. Verify the inventory against what is inside rather than relying on the source folder.
Limitations
The inputs are synthetic still images, and the checks cover decoded size, the named EXIF field and the delivery package. HDR, multi-image sequences, video companions and additional camera metadata need their own workflow. Approve the visible result and the exact metadata you intend to include when preparing personal or client files.
Test record
Tested on 2026-11-23 with pillow-heif 1.8.1 under Python 3.14.4. Pillow 13.0.0 and libheif 1.23.6 used x265 HEVC encoder (4.3+1-e9b8812) for genuine HEIC inputs. The default JPEG omitted DateTimeOriginal. Both named exports retained it after the explicit EXIF copy, including when reopened from the ZIP.
The measurement record lists the local outputs and their SHA-256 digests.
Tested in
Questions
Will a JPEG made from HEIC carry the original capture date?
Check the specific exporter and the saved output. With the measured setup, the default save omitted DateTimeOriginal. Supplying source EXIF explicitly preserved it in the two tested JPEGs. Check whether your source actually contains the field.
Why do the two JPEGs change size in different directions?
Each image has a different pixel pattern and is compressed separately. In the sample, one shrank and the other grew under the same JPEG setting. Use the byte count of the finished file to assess a delivery limit.
Can I rename HEIC files to JPG before sending?
Decode and encode them as actual JPEG files, then open the results and check the file format. Name the accepted JPEGs after conversion so the extension and the encoded contents agree.
How do I know which JPEG belongs to which original?
Keep a mapping when you choose the sequence. Check the image, its embedded date and its output filename, then use the inventory to verify the exact bytes in the package.