Reputation: 11
The uploading and creating processes both respond with status code '200', but the uploaded CR3 and HIF files receive an error message ("Failed: There was an error while trying to create this media item") in the Google Photos app and website. JPEG and CR2 files upload successfully. It's worth noting that I can successfully upload CR3 files with the Google Photos web interface.
I checked access token permissions, album ID, and JSON request body, which appear to be correct. I expect the CR3 and HIF files to upload successfully and be viewable in the Google Photos app and website. I am wondering if these file types are supported by the Google Photos API, and if there might be any other reasons why the upload is failing for these file types.
Upvotes: 0
Views: 215
Reputation: 3
Why do you expect that? CR3 is a raw file, lots of data but not cooked. Camera raw files are not really pictures in the sense of something finished which can be displayed, they are a format with more data in than can be displayed, from which a picture can be produced by a series of decisions on what data to include and leave out, and how to slope for instance the histogram.
There is a camera interpretation, a JPEG, embedded in it.
For Google to show you a picture would require it to make a lot of editing decisions, or use the JPEG thumbnail embedded in it. Why not just upload that JPEG, unless you've done your edit and have a different result in which case upload that.
HEIF I know little of, except that iPhones will produce them if asked.
Upvotes: 0