boredazfcuk / docker-icloudpd

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

icloudpd downloads heic-files despite "convert_heic_to_jpeg" set to "true" #650

Open nOOGzz opened 1 week ago

nOOGzz commented 1 week ago

Describe the bug What am I doing wrong? I am running icloudpd in a docker container on my Synology DS223. In the YML-file the conversion HEIC to JPG is set true.

Expected behaviour conversion heic to jpg

Actual behaviour no conversion

System (please complete the following information):

Thanks for your help in advance!

Regards

nOOGzz commented 1 week ago

I am sorry, seems that I wasn't patient enough. All photos have been downloaded, but now they exist twice on my NAS, one jpg-Version and the same HEIC-Version.

Is there anything that I missed? I would like to only have the jpg's on the NAS.

boredazfcuk commented 4 days ago

The utility is only capable of copying what exists in icloud. Using the HEIC to JPEG conversion function lets you download the original photos and then convert them to the quality of your choosing. If you delete the HEIC files, they will be redownloaded on the next run. If you delete the JPEG files, they will remain deleted.

I've not tested it, but I think you should be able to download JPEG files directly by setting photo_size=medium (instead of original, which will also be used if it's not set) in your config files.

These JPEG files will be at whatever quality/size they are stored in on icloud.com.