Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow download of RAW photos when using "--skip-videos" option #662

Closed
pjahn opened this issue Jul 13, 2023 · 9 comments
Closed

Allow download of RAW photos when using "--skip-videos" option #662

pjahn opened this issue Jul 13, 2023 · 9 comments

Comments

@pjahn
Copy link

pjahn commented Jul 13, 2023

With the iPhone 12 Pro, Apple introduced the functionality to take photos in RAW data format (see https://support.apple.com/en-us/HT211965). However, these photos are not included in the download and there is currently no option to do so. Those files are currently skipped. I suggest that this option be added to optionally include these files (they have the suffix "dgn") in downloads.

@AndreyNikiforov
Copy link
Collaborator

...Those files are currently skipped...

Can you provide more detain on the cmd you tried that with? Version of icloudpd, cmd line params and any other detail you find relevant.

I tried latest version icloudpd -d ./ASSETS -u [email protected] --recent 2 and it downloaded Pro image (DNG) and Pro video (MOV) just fine.

@pjahn
Copy link
Author

pjahn commented Jul 26, 2023

...Those files are currently skipped...

Can you provide more detain on the cmd you tried that with? Version of icloudpd, cmd line params and any other detail you find relevant.

icloudpd, version 1.13.0

parameters:
icloudpd --username [email protected] --password anypassword --until-found 5 --skip-videos --no-progress-bar --set-exif-datetime --folder-structure {:%Y/%Y-%m-%d} --directory /somepath --cookie-directory /somepath

I tried latest version icloudpd -d ./ASSETS -u [email protected] --recent 2 and it downloaded Pro image (DNG) and Pro video (MOV) just fine.

Will try the latest version now.
Thank you.

@pjahn pjahn closed this as not planned Won't fix, can't repro, duplicate, stale Jul 26, 2023
@pjahn
Copy link
Author

pjahn commented Jul 26, 2023

Tried with the latest version.

Output:
2023-07-26 18:47:21 DEBUG Skipping IMG_1804.DNG, only downloading photos.(Item type was: movie)

icloudpd, version 1.15.1

@pjahn
Copy link
Author

pjahn commented Jul 26, 2023

icloudpd -d /tmp -u [email protected] --skip-videos --recent 2 => no dng downloaded
icloudpd -d /tmp -u [email protected] --recent 2 => dng downloaded

--skip-videos parameter skips dng files.

@kfstorm
Copy link

kfstorm commented Aug 17, 2023

My camera (a Panasonic camera) saves both JPG and RW2 files. I upload them manually to iCloud. A photo with two files (one for JPG and one for RW2) is shown as a single photo on iCloud (and on my iPhone too), with a "JPEG + RAW" hint at the top left corner of the photo if I click it.

I can download both files of the photo by clicking the three dots button next to the delete button and choosing "More Download Options" -> "Unmodified Original". The downloaded zip is like this:

$ unzip -l ~/Downloads/iCloud\ Photos\ \(3\).zip
Archive:  /Users/yangkai/Downloads/iCloud Photos (3).zip
  Length      Date    Time    Name
---------  ---------- -----   ----
  7954944  08-17-2023 12:36   iCloud Photos/P1200376.JPG
 23651328  08-17-2023 12:36   iCloud Photos/P1200376.RW2
---------                     -------
 31606272                     2 files

Hope there's an option to allow downloading both JPG and RAW files.

@pjahn pjahn changed the title Allow download of RAW photos Allow download of RAW photos when using "--skip-videos" option Aug 20, 2023
@odedia
Copy link

odedia commented Nov 13, 2023

Would be great to also have an option to only download RAW files. In my case I'm using Nikon cameras and the extension is .NEF.

@jerrellmardis
Copy link

Would be great to also have an option to only download RAW files. In my case I'm using Nikon cameras and the extension is .NEF.

As well as .ARW RAW files.

@AndreyNikiforov
Copy link
Collaborator

1.19.0 fixes single-raw file assets (recognized as images now) as well as introduces support for raw+jpeg. raw files from different manufacturers are supported

@pjahn
Copy link
Author

pjahn commented Jun 1, 2024

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants