[Feature] Ability to upload 'unedited photos/videos' from the iOS app #24017
john-trieu-nguyen
started this conversation in
Feature Request
Replies: 2 comments
|
We would eventually like an option to allow a user to upload the base image to the server, but the implementation from the fork looks more like a patch than an actual solution. We can use this discussion to find ways to improve this better. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I have searched the existing feature requests, both open and closed, to make sure this is not a duplicate request.
The feature
Summary
On iOS, when an asset (e.g. photo) is edited, Apple still keeps the unedited version available behind the scenes.
This allows iOS users to revert all their edits to the unedited version if they choose.
The current Immich iOS app only has the ability to upload the edited version.
A blocker to implementing this feature was the upstream Flutter photo_manager library.
The library didn't expose unedited versions of assets.
This proposed PR would enable access:
fluttercandies/flutter_photo_manager#1339
Working example
I've forked an implementation using the patched photo_manager:
https://github.com/john-trieu-nguyen/immich/tree/feat/upload-original-files-from-ios
It works by creating a seperate album that contains all 'unedited' assets.
This is the iOS App with the 'unedited' image alongside the 'edited' image.
Solves issues
#5818
#4750
Things to note
Conclusion & ask
With the above limitations, I'm not sure if this could be implemented elegantly unless iOS introduces some new APIs. Maybe under an experimental feature flag?
Regardless, I will use the fork for personal use but I was hoping anyone can chime in if there's a better way forward.
Additional information
Portrait photos on iOS are actually edited photos. Apple applies a 'portrait' filter to the photo to create the blur effect.
Since I take a lot of portrait photos, I wanted to also backup the original image.
Platform
All reactions