Possible values for "Format" field in smugmug.images.get

mattwrightmattwright Registered Users Posts: 124 Major grins
Hi,

I was wondering if you can provide a list of the current possible return values for the "Format" field of each image as returned by smugmug.images.get. I understand it could change as you support more formats, but I am curious what the current supported list looks like and a rough idea of what to expect.

Also, is there any case where the "Format" field for an image that is a JPEG is returned as something other than "JPG" or is it always going to be consistent. I don't know if that is based on filename extension when uploaded or a conversion from mime type, etc.

Thanks,

Matt

Comments

  • devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited February 4, 2009
    Hey Matt,

    JPG, GIF, PNG, MPG, MP4.

    Cheers,

    David
    David Parry
    SmugMug API Developer
    My Photos
  • mattwrightmattwright Registered Users Posts: 124 Major grins
    edited April 24, 2009
    devbobo wrote:
    JPG, GIF, PNG, MPG, MP4.
    What determines whether an uploaded video becomes MPG instead of MP4?

    Completely unreasonable request:

    Your photo service allows me to easily grab the exact size of photo I want using URL parameters (AWESOME). Any ability to get MP4 video with a max width resolution of 480 pixels using a -480D parameter on the URL? :)

    Matt
  • devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited April 24, 2009
    mattwright wrote:
    What determines whether an uploaded video becomes MPG instead of MP4?

    Completely unreasonable request:

    Your photo service allows me to easily grab the exact size of photo I want using URL parameters (AWESOME). Any ability to get MP4 video with a max width resolution of 480 pixels using a -480D parameter on the URL? :)

    Matt

    video uploaded prior to us upgrading our video support will be in MPG format.

    re-automated video resizing...heh no rolleyes1.gif

    but we do have custom sizes, that would suit playback on an iphone/ipod...the 640 version should be fine.
    David Parry
    SmugMug API Developer
    My Photos
  • mattwrightmattwright Registered Users Posts: 124 Major grins
    edited April 24, 2009
    devbobo wrote:
    re-automated video resizing...heh no rolleyes1.gif
    Haha, well, in fairness, I did preface it by saying it was a completely unreasonable request. I'll certainly make use of the existing sizes. :)

    Matt
  • mattwrightmattwright Registered Users Posts: 124 Major grins
    edited April 24, 2009
    devbobo wrote:
    video uploaded prior to us upgrading our video support will be in MPG format.
    Out of curiosity and to inform my users, was that around April 25, 2008, or prior to that?

    http://blogs.smugmug.com/don/2008/04/25/i-demand-video-to-be-awesome/

    Matt
  • devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited April 24, 2009
    mattwright wrote:
    Out of curiosity and to inform my users, was that around April 25, 2008, or prior to that?

    http://blogs.smugmug.com/don/2008/04/25/i-demand-video-to-be-awesome/

    Matt

    December 2007
    David Parry
    SmugMug API Developer
    My Photos
Sign In or Register to comment.