I noticed that my original_alt RAW files from JPEG + RAW photos are downloaded with .jpg extension and not as Olympus ORF RAW files as they should. Here is the fix for that.
I was not able to figure out whether extension for resOriginalAltResis returned from iCloud, so as far as I see, the best bet is to hardcode mapping from type field to extensions.
The mapping I took from here.
I noticed that my original_alt RAW files from JPEG + RAW photos are downloaded with
.jpg
extension and not as Olympus ORF RAW files as they should. Here is the fix for that.I was not able to figure out whether extension for
resOriginalAltRes
is returned from iCloud, so as far as I see, the best bet is to hardcode mapping fromtype
field to extensions. The mapping I took from here.