Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

File sizes differ when downloaded by gphotos-sync vs browser #264

Closed
djohnson2718 opened this issue Oct 5, 2020 · 8 comments
Closed

File sizes differ when downloaded by gphotos-sync vs browser #264

djohnson2718 opened this issue Oct 5, 2020 · 8 comments
Assignees

Comments

@djohnson2718
Copy link

If I look at the file size of a file downloaded by gphotos-sync, it is e.g. 1.3MB. If I find the same picture on Google photos, it reports it as 1.1MB. If I download the photo from Google photos, my file manager also reports it as 1.1MB. I cannot see any other difference between the files.

The same thing happens on basically every (of a small number) file I've checked.

Any insight into what is going on? Does the API give you a different version than the browser downloader?

@jildert17
Copy link

Hi!
I also saw this behavior, but typically the files synced with gphotos are smaller than the ones downloaded from the web-interface. Also the downloaded photo's are an exact copy (binary identical) of the photo's I uploaded to Google photos. But the synced photos are not. When comparing photos with e.g. WinMerge you can really see that there are some pixel differences. All properties seem to be the same though (resolution, bit-depth, etc).

@gilesknap
Copy link
Owner

@uberparagon @jildert17 do you upload "high quality" or "original" mode?

My experience was that as a "high quality" user my images were the same backed up by gphotos-sync as downloaded with web UI except that metadata has been messed with a little. Most notable GPS is missing.

I've not checked this for some time and Google may have changed things for some reason. ☹️

@gilesknap
Copy link
Owner

Oh and if you are a paid storage "original" mode user then you will not get your originals back through the API and they will always be more compressed. See #119

@jildert17
Copy link

@gilesknap I indeed use original mode, so the behavior is expected then (which is a pity though!)
Thanks for your quick reply

@agmonr
Copy link

agmonr commented Oct 25, 2020

When downloading from the web you have an option to download in the original size. The software is downloading the reduce size. I will be also very happy for a fix.

@gilesknap
Copy link
Owner

@agmonr when you download from the web does it correctly download the original file if you check against what you uploaded? I expect that it does, but this does represent a 'vendor lock in' issue. i.e. Google provide an API but its crippled so that you need to use their Web app to get your data back.

@agmonr
Copy link

agmonr commented Oct 28, 2020

When downloading from web, by default, it downloads the reduce size, you have to chose to download the original size, and then, yes, it is the same file size as you upload it. I will check if you can download the original also via google sync tools. (may be the full size download is in the api but not documented)

@gilesknap
Copy link
Owner

closing this as a duplicate of #119

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

No branches or pull requests

4 participants