Possible values for "Format" field in smugmug.images.get
mattwright
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
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
0
Comments
JPG, GIF, PNG, MPG, MP4.
Cheers,
David
SmugMug API Developer
My Photos
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
but we do have custom sizes, that would suit playback on an iphone/ipod...the 640 version should be fine.
SmugMug API Developer
My Photos
Matt
http://blogs.smugmug.com/don/2008/04/25/i-demand-video-to-be-awesome/
Matt
December 2007
SmugMug API Developer
My Photos