Skip to content

Conversation

@john-trieu-nguyen
Copy link

@john-trieu-nguyen john-trieu-nguyen commented Nov 20, 2025

Summary
Apple has the hasAdjustments property to indicate whether the asset contains adjustment data.
Base adjustment files are unaltered versions of the asset before any edits were applied.

Partially solves
#1070
Now able to get the 'original version' of files. Getting AAE sidecar would be a similar implementation but have left out for now.

Motivation
immich-app/immich#4750
immich-app/immich#5818
Wanted ability to also upload the unedited image.

Things to note
PHAsset.hasAdjustments is only available on iOS and macOS 15.0+. Because this library targets 14.0, there is fallback implementation. The fallback implementation is very inefficient and could cause performance issues.

References
PHAssetResourceType
PHAsset.hasAdjustments

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant