depends on what programming language you are using. typically you may want to open the file for reading with a binary flag (if needed).
On Aug 12, 11:38 am, ltdangkhoa <[email protected]> wrote: > i want to upload an image from my local file to picasa server, how can > i get binary image data? > > Content-Type: multipart/related; boundary="END_OF_PART" > Content-Length: 423478347 > MIME-version: 1.0 > > Media multipart posting > --END_OF_PART > Content-Type: application/atom+xml > > <entry xmlns='http://www.w3.org/2005/Atom'> > <title>plz-to-love-realcat.jpg</title> > <summary>Real cat wants attention too.</summary> > <category scheme="http://schemas.google.com/g/2005#kind" > term="http://schemas.google.com/photos/2007#photo"/> > </entry> > --END_OF_PART > Content-Type: image/jpeg > > ...binary image data... > --END_OF_PART-- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Picasa Web Albums 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-Picasa-Data-API?hl=en -~----------~----~----~----~------~----~------~--~---
