Hi Julian, Can you tell me the standard size and format. I would like to upload the photo in the right ratio.
Cheers, Dennis On Tuesday, September 8, 2009 3:13:05 PM UTC+1, Julian (Google) wrote: > > Hi Neil, > > When a photo is uploaded it is scaled and converted in our servers to > a standard size and format. This is the cause of the md5 difference > and unfortunately cannot be prevented. > > Cheers, > Julian. > > On Sep 5, 4:24 am, nloko <[email protected]> wrote: > > I've posted a similar question on the Android dev forum, but maybe it > > will get the proper audience here. > > > > If I upload a photo using the API within the size constraints of > > 96x96px and later download that same photo, it does not match the > > original photo uploaded. This is confirmed by comparing the Md5 hash > > of both photos. > > > > So, my question is, how exactly is Google modifying the photo? The > > downloaded file has same dimensions, dpi, and it looks the same, but > > the Md5 hash is different from the original and is a few bytes > > smaller. > > > > So... > > 1) What is changing? > > 2) Can it be prevented? > > > > Thanks, > > Neil -- You received this message because you are subscribed to the Google Groups "Google Contacts, Shared Contacts and User Profiles APIs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://code.google.com/apis/contacts/community/forum.html
