boredazfcuk / docker-icloudpd

An Alpine Linux container for the iCloud Photos Downloader command line utility
1.76k stars 167 forks source link

only downloading JPG while there's also a raw version #156

Closed flyingwasabi closed 1 year ago

flyingwasabi commented 2 years ago

I have quite a few photos in my iCloud photo library that has both jpg and raw version. the JPG and RAW show up as 1 picture, but 2 versions that you can choose which to use, and I believe iCloud defaults to JPG.

I notice that the icloudpd is only downloading the JPG version, and leaving the RAW as if its not there. any way we can download both versions? or let us choose which version to download (RAW is always better for archiving).

thanks, great project!

boredazfcuk commented 2 years ago

It's my understanding that icloud.com only allows JPG/HEIC downloads... How are you accessing RAW files?

The application mimics a browser logging in and downloading photos via icloud.com. So unless you have a way of downloading RAW files form icloud.com, there will be no way of retrieving them, until Apple support it.

flyingwasabi commented 2 years ago

there's actually a way to download RAW files from iCloud.com

for those photos with raw and jpg version, you can click the three dots on the upper right corner and choose more download options, and selecting 'unmodified originals' will give you a zip file containing both JPG and RAW files of the same photo.

I'm not an expert on coding, so I don't know if it is possible to be integrated into scripts.

boredazfcuk commented 2 years ago

How do you get RAW files into your icloud? I don't get that option when I select a singe/multiple files and download the unmodified originals. They are still downloaded as JPG files.

I'm not a coder either. I'm a sysadmin so my experience is all bash/batch/PowerShell/VBscript... The underlying Python script, which may have been able to automate downloading RAW files, is maintained by a couple of guys have been quiet for a fair few months. I think development has stalled in the application (even recent PRs have been ignored), so I'm not sure if it would be something they would have time to add.

flyingwasabi commented 2 years ago

when you shoot RAW+jpg on your DSLRs and import them into your photo library, either on Mac or iPad/iPhone, the pair will be recognized as one photo but two assets. and both are uploaded into iCloud. on iPad/iPhone and Mac, the photo will have a JPEG+RAW tag on the upper left hand.

this article should give you some idea [https://appleinsider.com/articles/21/02/23/how-to-use-raw-images-with-photos-app-on-the-mac]

boredazfcuk commented 2 years ago

I've raised an issue with the creators of the underlying application, requesting the addition of this feature.

Unfortunately, the guys over there have been fairly quiet recently, but hopefully they will be able to find some time to get it moving again.

boredazfcuk commented 1 year ago

Looks like this was added at some point: https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/662 so it should work in my container.

Will close as presume working.

kfstorm commented 1 year ago

@boredazfcuk I think this issue should remain open.

https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/662 is about downloading a photo with only a RAW file (I guess so, but I don't have a Pro iPhone) while this issue is talking about downloading a photo with both JPG and RAW files. (See my comment in https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/662 for details.)