[Bug/Feature] Issues around "edited" photos on iPhone #4750
Replies: 6 comments 21 replies
|
I’m having the exact same issue. The easiest way to have a first implementation of this would be just to:
This would retain all Photos’s nondistructive editing, and there’s more! This would retain even all the data from:
So this is a super good idea! |
|
我觉得CLI是不是可以先放开aae文件的上传,保留原始文件是有必要的 |
|
This issue is what’s stopping me from switching to Immich as my main backup solution. I currently use PhotoSync to backup to my NAS. PhotoSync backs up both original as well as edited versions of photos and videos. |
|
@alextran1502 considering that Immich is starting to get closer and closer to a stable release is this something that is planned to be added anytime soon? I know that it doesn’t have many likes but this change would make Immich so much more usable for Apple users. |
|
Well, I found out this ticket and that's exactly the problem I'm currently facing today with immich and Portrait Photos. The Immich iOS app only sends the "edited" version of any Portrait Photo with the blur in the background which display fine in the immich app and web app. But the original photo is not copied over and lost in case it is deleted from the phone. Photos.app on the Mac can export the original to immich but unfortunately, the background blur is lost in the process, the depth data not being kept or at least understood by immich at this state of development. iCloud can export a folder with all versions from the Portrait Photo but in immich, the image does not seems to be stacked automatically. So I don't see any good solution to treat those kind of assets right now. Am I missing something here or did I summarize the situation well enough ? Except from that point, the app is rock solid, thanks for the hard work ! |
|
This is the only issue that is blocking me from switching to immich. Do we have any update regarding this? |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This is a bit confusing even for me and a bit difficult to explain, but I'll do my best.
A few facts:
Currently I'm in the process of migrating from macOS Photos to Immich. I have photos/videos only on macOS Photos, photos/videos only on my iPhone and photos/videos on both. Ideally, at the end of this, all photos/videos are saved in Immich, and I start using the iOS Immich app to backup any new photos/videos I take. This means, after moving everything to Immich, whatever I still have on my iPhone that was taken in the past is recognized as being synced with the Immich server (and whatever was only on macOS Photos shows up on the Immich iOS app as present only on the Immich server).
My issue:
Solutions?
As it turns out, macOS Photos saves the original 3024x4032 photos along with extra "edit" files with extension
.aae. Here is an example of the contents of one such file:This seems different than the
.xmpsidecar metadata I've seen referenced in multiple other issues here on GitHub. In fact, if I export a photo from macOS Photos, three files are produced: the original 3024x4032 photo, an.xmpwhich does not contain edit data, and an.aaewith the edit (crop) data. I've tested the CLI tool and it does not read the.aaefile. One potential solution could perhaps be to read this file, if available? Then either crop the photo before uploading or upload the original and the edits separately. To be honest, this sounds like too much work to get going, especially because I expect these edits can become much more complex than a simple crop (color grading, etc). I tried to see if I could find how to read the.aaefiles online and couldn't find anything, but maybe Apple provides APIs we can use.Another solution could be to let the user choose if Immich iOS uploads the edited version or original version of the photos. In this case, I would choose original, and the syncing issue of double photos would no longer happen (but I would have to enable this for all photos, and I could potentially lose other edits such as color grading, text, etc... this is not ideal either).
Or finally, maybe the comparison between server photos and device photos during syncing could be improved such that cropped versions of the same photo are detected, and then the double photos issue I have would be solved. But even there this is not obvious: which version should you actually keep in the server? Ask the user every time? I can see legitimate reasons for all three options: keep original, keep cropped, keep both (or more, even, if the user has multiple crops of the same photo).
I'm posting here because I don't think this is a bug per se: uploading edited versions on Immich iOS is not necessarily wrong, and parsing
.aaefiles, if that is the solution, is more of a feature request. But I don't have an idea of what the best solution here is, and I'm happy to discuss potential options and also to provide example files for this issue.All reactions