Hi! Did you find already a solution to download the original resolution? i've got the same problem.
Greetings On 1 feb, 08:12, NH <[email protected]> wrote: > Hi All, > Can someone please share a C# snippet that will get me the original > full resolution photos? > The1600pixel photos it gives me are good but not good enough... > Here is my code: > > public void ListPhotosInAlbum() > { > PicasaService service = new PicasaService("exampleCo- > exampleApp-1"); > > service.setUserCredentials(Session["Username"].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.Content.Url.ToString(); > phPhotos.Controls.Add(i); // a placeholder in my aspx page > > System.IO.Stream st = null; > string szUrl = entry.Content.Src.ToString(); > st = service.Query(new Uri(szUrl)); > Bitmap b = new Bitmap(st); > b.Save(@"c:\photo1.jpg", > System.Drawing.Imaging.ImageFormat.Jpeg); > > } > > } > > Thx, > NH. -- 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.
