Skip to main content
Participating Frequently
January 19, 2026

P: Data Loss/Corruption in .HIF files when writing XMP metadata

  • January 19, 2026
  • 6 replies
  • 108 views

Title: Data Loss/Corruption in .HIF files (Panasonic) when writing XMP metadata (v15.1)

Description: After performing a "Save Metadata to File" (or having "Automatically write changes to XMP" enabled), Panasonic 10-bit .HIF files are becoming unreadable. ExifTool diagnostics show a "No Extents for jpeg item" warning, and file sizes are truncated (e.g., from 12MB to 4.8MB).

Lightroom Version: 15.1 OS: [MacOS Tahoe 26.2] Camera: Panasonic [S1RII] Reproduction Steps:

  1. Import .HIF files from CFexpress Type B card using "Move" or "Copy".

  2. Enable "Automatically write changes into XMP" in Catalog Settings.

  3. Make any edit (e.g., Exposure +0.5).

  4. Observe file becoming "Damaged or Unsupported" in Develop module. Expected Result: Metadata is embedded without altering the image data extents. Actual Result: The HEIF container is corrupted; the image data pointers (extents) are lost/deleted.

** I am unable to attach the corrupted .HIF file as this forum does not support it.. I tried converting it to pdf or tif but to no avail . If you have a suggestion let me know.

6 replies

johnrellis
Legend
January 26, 2026

"Will this be reported to development or do I need to do anything else?

 

It's already in the team's bug-tracking process -- as of 1/20.  They'll get back to you if they need more informtion, but given the bug is easily reproduced with the sample file you provided, I doubt they will.

 

You can see the status (BUG: Investigating)  at the bottom of the first post. Adobe will update this thread with a new post when the status changes. They rarely comment on when a bug might be fixed.

JeffP3456Author
Participating Frequently
January 26, 2026

Will this be reported to development or do I need to do anything else? To me this is serious as I lost a file (which LRC claims to handle) and was not able to recover it.

johnrellis
Legend
January 21, 2026

[This post contains formatting and embedded images that don't appear in email. View the post in your Web browser.]

 

Precise steps to reproduce on LR 15.1 / Mac OS 26.2:

 

1. Download this .hif and import it into LR with the Add option:

https://www.dropbox.com/scl/fi/02bp2cd805dk9t69gnns5/corruptible-panosonic-hif.2026-01-21.HIF?rlkey=h491xjc52bu6oua8d0c0mij04&dl=0

 

2. Observe you can edit the photo in Develop.

 

3. In Library, select the photo and do Metadata > Save Metadata To File. Observe the black-circled ! on the thumbnail (incorrect):

johnrellis_0-1769029306128.png

 

 

 

JeffP3456Author
Participating Frequently
January 21, 2026

I uploaded an uncorrupted file and also a corrupted one. they are not the same image as the original corrupted one is lost.

https://www.filemail.com/d/qvmogzzmaopncvf

 

Let me know if you need anything else.

 

Jeff

Rikk Flohr_Photography
Community Manager
January 20, 2026

Updating status

Rikk Flohr: Adobe Photography Org
johnrellis
Legend
January 19, 2026

Upload a straight-from-the-camera, uncorrupted HIF to Wetransfer, Dropbox, Google Drive or similar free service and post the sharing link here.  (Adobe won't pay much attention unless they have an original file with which to quickly reproduce the problem.)

 

A similar bug with Sony HIFs and with AVIFs was fixed a couple years ago:

https://community.adobe.com/t5/lightroom-classic-bugs/p-sony-hif-images-reading-image-and-writing-metadata-error/idc-p/13771249