Hello, If you're trying to get the image bytes directly from the API, I'm afraid we just don't serve the bytes that way. The image bytes are served from the image URL that's provided through the API.
Let me know if that didn't answer your question. Thanks, On Wed, Feb 20, 2013 at 9:09 AM, Hema Bairavan <hemabaira...@gmail.com>wrote: > > Hi, Detlev Schwabe > > I came here while browsing about the google API. Now my question is if i > want to download a picture and set it to my image box, consider i am using > windows application. Now i will be querying the picasa service to get my > photo entry ( one url hit) and again to get my photo i need to take the url > from PicasaEntry.Media.Content.Attributes["url"] and again i need to hit > the url to get my image. > > Even though i tried it with thumbnail, it has only the url and not the > whole image. > > Is there any way to get the image from picasa in one url hit? > > > On Tuesday, February 1, 2011 9:25:05 PM UTC+5:30, Detlev Schwabe wrote: >> >> You'll have to append a "imgmax=d" parameter to your photo query request. >> Then the media content URL will be pointing at the original image file, >> which you can then download. >> The parameters to specify desired image/content and thumbnail sizes are >> documented here: >> http://code.google.com/apis/**picasaweb/docs/2.0/reference.** >> html#Parameters<http://code.google.com/apis/picasaweb/docs/2.0/reference.html#Parameters> >> See in particular the paragraph under the table. >> >> On Sat, Jan 29, 2011 at 1:55 PM, NH <nir....@gmail.com> wrote: >> >>> Dear Picasa coders, >>> >>> I need to download a full res photo programatically. >>> I have placed a few ~2000X3000 / 2Mb JPGs in a test Picasaweb album. >>> When I try to download them, they shrink down to 300K with a maximum >>> 1600 pixel on the bigger size. >>> How can I get a full res one using the API with C#? >>> What am I missing? >>> My snippet below. >>> Thanks for your help. >>> NH. >>> >>> public void ListPhotosInAlbum() >>> { >>> PicasaService service = new PicasaService("exampleCo- >>> exampleApp-1"); >>> service.setUserCredentials(**Session["Username"].ToString()**, >>> Session["Password"].ToString()**); >>> PhotoQuery query = new >>> PhotoQuery(PicasaQuery.**CreatePicasaUri(Session["** >>> Username"].ToString(), >>> Request["Id"])); >>> PicasaFeed feed = service.Query(query); >>> foreach (PicasaEntry entry in feed.Entries) >>> { >>> Label lblTitle = new Label(); >>> lblTitle.Text = entry.Title.Text; >>> phPhotos.Controls.Add(**lblTitle); >>> System.Web.UI.WebControls.**Image i = new >>> System.Web.UI.WebControls.**Image(); >>> i.ImageUrl = entry.Media.Thumbnails[1].Url; >>> i.ImageUrl = entry.Media.Content.Url.**ToString(); >>> phPhotos.Controls.Add(i); // a placeholder in my aspx page >>> } >>> >>> } >>> >>> -- >>> 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 google-pica...@**googlegroups.com. >>> To unsubscribe from this group, send email to google-picasa-data-api+** >>> unsubscr...@googlegroups.com. >>> For more options, visit this group at http://groups.google.com/** >>> group/google-picasa-data-api?**hl=en<http://groups.google.com/group/google-picasa-data-api?hl=en> >>> . >>> >>> >> -- > You received this message because you are subscribed to the Google Groups > "Google Picasa Web Albums API" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to google-picasa-data-api+unsubscr...@googlegroups.com. > To post to this group, send email to > google-picasa-data-api@googlegroups.com. > Visit this group at > http://groups.google.com/group/google-picasa-data-api?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Google Picasa Web Albums API" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-picasa-data-api+unsubscr...@googlegroups.com. To post to this group, send email to google-picasa-data-api@googlegroups.com. Visit this group at http://groups.google.com/group/google-picasa-data-api?hl=en. For more options, visit https://groups.google.com/groups/opt_out.