I am using the .net client library to manipulate the contacts and when
I save the contact picture to file it comes back as this tiny 96 by 96
jpg.  I am losing resolution quality, is there any way to change this
because if I save this picture back to another gmail account, it has
lost a generation of quality.

Here is the code I am using:

//---------------------------------------------------------------------------------------
//Start a Contact service and save the ContactEntry to a variable
called entry

IGDataRequest req = service.RequestFactory.CreateRequest
(GDataRequestType.Query, entry.PhotoUri);

req.Execute();


Bitmap picture = new Bitmap(req.GetResponseStream());

picture.Save("testpicture.jpg");

//---------------------------------------------------------------------------------------------

Is there a way to get the full size picture?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Contacts API" 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://groups.google.com/group/google-contacts-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to