simulot / immich-go

An alternative to the immich-CLI command that doesn't depend on nodejs installation. It tries its best for importing google photos takeout archives.
GNU Affero General Public License v3.0
1.18k stars 34 forks source link

Google photos import: Handling of edited (rotated) photos #298

Closed chrisscotland closed 1 day ago

chrisscotland commented 2 weeks ago

I have an album of photos on google photos where some of the raw photos had the wrong orientation. I corrected the orientation in google photos and on google photos I have only 1 copy of the photo in my library and it shows the correct orientation.

In the takeout archive there is a "XXXXX-edited" version of the file which displays the correct orientation alongside the original file. There was only 1 json file present for the original unedited photo but immich-go successfully associated the edited photo with this json. Both the unedited and edited photos were then uploaded to Immich and are present in the album as duplicates (one with wrong orientation).

Would it be possible to add an option to not import original photos where an edited copy exists? This would avoid these duplicates in my collection.

immich album

Example takeout archive & log file attached. takeout-20240613T094535Z-001.zip immich-go_2024-06-13_10-49-40.log

simulot commented 2 weeks ago

Nice suggestion.

The "-edited" depend on the phone maker and the user language.

m1ndy commented 3 days ago

+1 to this.

simulot commented 1 day ago

What if you have edited your image several times? What if you regret the change you have made?

Maybe the best is to let the user decide which version to keep.