I need to filter out certain image types (GIF specifically). I was
going to do this based on the image delivered by the API. But then I
realize that the Picasa API is delivering GIF images as PNG. Why on
earth is this being done?

When I browse the image in picasaweb.google.com, the url is in fact
a .gif image. But when I retrieve the image via API, both the file
extension and mime type are PNG.

https://picasaweb.google.com/data/feed/api/user/105853900407593318613/albumid/5581253829870301409?kind=photo&thumbsize=110u&imgmax=720u&start-index=12&max-results=1&alt=json

in entry 0:

title: {
    $t: "DancingPeaks.gif"
    type: "text"
}

content: {
    type: "image/png"
    src: 
https://lh5.googleusercontent.com/_15W9_sQ6hAA/TYHTpGJTh1I/AAAAAAAAAZw/k3kff4ocqOs/s720/DancingPeaks.png
}

media$group: {
    media$content: [
        {
        url: 
https://lh5.googleusercontent.com/_15W9_sQ6hAA/TYHTpGJTh1I/AAAAAAAAAZw/k3kff4ocqOs/s720/DancingPeaks.png
        height: 343
        width: 435
        type: "image/png"
        medium: "image"
        }
    ]

    media$thumbnail: [
        {
            url: 
https://lh5.googleusercontent.com/_15W9_sQ6hAA/TYHTpGJTh1I/AAAAAAAAAZw/k3kff4ocqOs/s110/DancingPeaks.png
            height: 87
            width: 110
        }
    ]

-- 
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.

Reply via email to