In this PR I added a very bare-bones logic to detect the best asset.
The asset will be selected, in order of priority, by analyzing live photo info, resolution, file extension (HEIC over JPG), and finally file size.
Additionally, the button to keep the best asset will not be enabled for videos of wildly varying durations (since they are unlikely to actually be duplicates).
Finally, live photos will clearly be labeled as such, to facilitate decision-making for the end users.
In this PR I added a very bare-bones logic to detect the best asset.
The asset will be selected, in order of priority, by analyzing live photo info, resolution, file extension (HEIC over JPG), and finally file size.
Additionally, the button to keep the best asset will not be enabled for videos of wildly varying durations (since they are unlikely to actually be duplicates).
Finally, live photos will clearly be labeled as such, to facilitate decision-making for the end users.