icloud-photos-downloader / icloud_photos_downloader

A command-line tool to download photos from iCloud
MIT License
6.21k stars 527 forks source link

How to download historical RAWs? #868

Closed hawaaiianmiraclecreel closed 2 weeks ago

hawaaiianmiraclecreel commented 2 weeks ago

https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/675

I saw that this has been implement and I am super happy! But I cant figure out how to enable this for RAW+JPG. Any guidance? I have been using the default settings but I didnt see any flag to enable downloading of RAWS

Thanks

AndreyNikiforov commented 2 weeks ago

RAW files are recognized as regular images, but they were not before 1.19.0. If you synchronize your whole iCloud library to local storage, then icloudpd will download all historical RAW images automatically ("fill the gaps").

RAW+JPEG have two files for each asset: original and alternative sizes. If you need both, then you need to use --size alternative --size original parameters, as only original is loaded by default. There are two ways to align these type assets: RAW+JPEG and JPEG+RAW. First one will be original, the second - alternative. IIUC, the order is defined by Apple and can be changed in iCloud UI. You can also "force" alignment at icloudpd level (without changing iCloud) with --align-raw original to make RAW always appear in original spot, or --align-raw alternative - in alternative.

AndreyNikiforov commented 2 weeks ago

updated doc