Skip to main content
mhorvath
Known Participant
May 4, 2023

P: Sony Hif Images reading image and writing metadata error

  • May 4, 2023
  • 16 replies
  • 4979 views

Today I imported some HEIF images (Camera: Sony Alpha 7 IV) into lightroom. Everything was fine until I opened the develop module. Whenever I did so it first showed a warning that there was an "error writing the metadata" and after deselecting the image the prompt "error reading the image" came up.

 

I already tried following: Re-importing the images (directly via Lightroom copying from the SD card to the MacBooks desktop), manually copying the images to desktop folder and then importing. Checking all the privacy settings (accessability  and full disk access), first-aid for the harddrive and restarting both LR and the MacBook. Also LR is running on the latest update. My catalouge is currently running from a 64GB USB Stick (formated for Mac OS Extended (Journaled)) and the images are in a folder on my desktop. So I don’t see a reason why or what is causing this errors.

This topic has been closed for replies.

16 replies

Rikk Flohr_Photography
Community Manager
Community Manager
June 14, 2023

@johnrellis  Let's write up a new report. I talked to the team and they want a separate bug. 

Rikk Flohr: Adobe Photography Org
johnrellis
Legend
June 14, 2023

@Rikk Flohr: Photography, I verified that my bug recipe now shows correct behavior for the sample .hif file.  Rather than trying to write into the .hif file, LR now writes a .xmp sidecar (as it originally did with .heic files, until it learned how to write directly into them).

 

However, the problem still occurs with the sample .avif file:

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

 

 

Shall I submit a new bug report?

 

Rikk Flohr_Photography
Community Manager
Community Manager
June 13, 2023

Greetings all,

 

Updates for Adobe Photography products have been released.  The June 2023 updates contain a fix for this issue. 

If you do not see the update in your Creative Cloud Application, you can refresh it by hitting [Ctrl/Cmd]+[Alt/Opt]+[ R ].

Note: It may take up to 24 hours for your update to be available in your Creative Cloud app.

 

Thank you for your patience.

Rikk Flohr: Adobe Photography Org
Participating Frequently
June 9, 2023

This also happens to Nikon saved HIF next to NEF with write XMP sidecar enabled on Classic. "File appears unsupported or damaged." "Lightroom has encountered problems reading this photo." It doesn't appear until making some edits to the HIF or NEF. I believe editing one or both creates some kind of conflict when Lightroom takes the edits in the XMP and tries to apply those edits to the other same-named file.

yamato713108855
Community Expert
Community Expert
June 4, 2023

@DdeGannes 

There is a difference from the Japanese menu, but that's probably it.

DdeGannes
Community Expert
Community Expert
June 4, 2023

@yamato713108855 , What do you mean exporting XMP files? 
Do you mean using the menu option "Save Metadata to file"?

P.S. OK I see that others have confirmed this is a Bug.

Regards, Denis: iMac 27” mid-2015, macOS 11.7.10 Big Sur; 2TB SSD, 24 GB Ram, GPU 2 GB; LrC 12.5,; Lr 6.5, PS 24.7,; ACR 15.5,; (also Laptop Win 11, ver 24H2, LrC 15.0.1, PS 27.0; ) Camera Oly OM-D E-M1.
yamato713108855
Community Expert
Community Expert
June 4, 2023

More users should be made aware that exporting XMP files has a critical bug that corrupts image files when rewriting metadata.
HEIF may not be the only target.
All formats should be investigated.

Participant
June 3, 2023

Lightroom classic corrupted all my images!!

 

I have 600 HEIC 10bit 420 images from my A7RV, I imported them to the latest lightroom classic, I made some simple edits (just some rotations) and clicked ctrl+s to save metadata, and then ALL of my images become corrupt! Even windows photo viewer cannot open them!!

 

Anyway to recover my original photos?

Participant
June 3, 2023

I bought a data recovery tool and saved my photos, now I'm looking for LR alternative for terrible HECI support. Not worth 10$ a month IMO.

mhorvath
mhorvathAuthor
Known Participant
May 9, 2023

@johnrellis yes apparently I’ll have to do it like this. To bad, I wanted to have the advantage of the small file size and high possibilities to edit of the HEIF images.. well guess I’ll have to switch to JPG again if I want to have more space on my cameras memory and don’t use RAW. 

It’s really a pitty because LRC supports HEIF from iPhones (and Androids) as also stated on their website. But not from Sony cameras (and possibly others)