Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write exif informations from apple metadata #448

Open
Se7enair opened this issue Jun 22, 2022 · 9 comments
Open

Write exif informations from apple metadata #448

Se7enair opened this issue Jun 22, 2022 · 9 comments

Comments

@Se7enair
Copy link

Summary

Adding metadata from apple photos to exif

Context

Apple or the photos app is generating metadata which contains keywords, persons, GPS location, etc. At the moment not all of them are written to the exif information in a picture.
It would be nice, if there is a option like --exif to write all these data to the files.
So other programs can make use of it. For example, as far as I know Adobe Lightroom is working with these, or a batch rename/move can use this.

@AndreyNikiforov
Copy link
Collaborator

What specific metadata attribute(s) from iCloud you would like to see in exif?

Can you please outline a scenario to test functionality once implemented? E.g. 1) upload photo without XYZ exif 2) check that iCloud Web UI shows ABC attribute 3) download photo and check that XYZ matches ABC data.

@Se7enair
Copy link
Author

In my case I am interested in detected persons and albums.
Persons because it would be easy to search for pictures from a specific person, even on my local files.
albums to be able to sort the exported pictures in albums. At the moment I only can export a file structure based on the date.
Or any other thing you can do in combination with exiftool.
At the moment there are exif informations in a exported photo, but as far as I See, albums and persons not.

@AndreyNikiforov
Copy link
Collaborator

Persons because it would be easy to search for pictures from a specific person, even on my local files.
albums to be able to sort the exported pictures in albums.

What tool are you using to search local files by exif tags? What tags does that tool use for Person & Album? I scanned https://exiv2.org/tags.html and don't see anything close to the requested metadata.

@Se7enair
Copy link
Author

Se7enair commented Jun 26, 2022

At the moment I export from iCloud with osxphotos it writes the information at various tags.
Screenshots are from exiftool
image
image
image

Christoph Drexler is a person, icloudpd is a album.

Apple photos is scanning my photos and add some aditional information, like persons, selfies, duplicates, etc. And I sort photos to albums. Everything happens in the cloud. As soon as I export it with icloudpd I loose these information.
My target is to keep the information.

osxphotos is capable, but only runs on mac. And I have only a virtual mac which runs, but Linux on the server would be better. Because it runs 24/7.

@Se7enair
Copy link
Author

https://photo.stackexchange.com/questions/129/is-there-an-exif-standard-for-tagging-people-in-photographs

I am not really familiar with these things. But I am looking for a solution to save the additional information apple is adding to my photos.

@Ebseguru
Copy link

Ebseguru commented Aug 2, 2022

I observed that icloudpd.exe under Windows is basically downloading the Metadata. However the IPTC part is missing. The reason for using icloudpd was the hope for accessing the caption, which is unfortunately part of IPTC block.
Nevertheless I am not sure whether Apple already strips off this data while uploading to iCloud and icloudpd is just a victim of that unwanted behavior.

@revpdev
Copy link

revpdev commented Sep 8, 2023

Hi, I am interested as well in extension of the support of exif information. Specifically the adjusted GPS location (as priority 1) and detected persons (priority 2).
My usecase: I am running icloudpd on both a raspberry pi as a NAS backup, and on macos to retrieve photos from another account.

@AndreyNikiforov
Copy link
Collaborator

My brief googling suggested that there are many approaches to storing metadata and XMP seems to be the preferred way for face data.

What is your experience with using XMP/Exif/etc in photo organizing software? Maybe icloudpd should support rich metadata export into XMP?

@revpdev
Copy link

revpdev commented Sep 17, 2023

I will update my last comment, my need was in fact more to retrieve the edited photos and videos that user can see on iPhone after edit. The adjusted date works already fine in 1.15.1. Thus my need is more related to enhancement #249 and #412 for which I could build a working solution at least for my needs. I'll follow-up in #249.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants