[whatwg] Add "naturalOrientation" property to <img>

Glenn Maynard glenn at zewt.org
Fri Aug 26 09:57:45 PDT 2011


On Fri, Aug 26, 2011 at 11:37 AM, Tab Atkins Jr. <jackalmage at gmail.com>wrote:

> Summary
> =======
> The <img> element should expose a readonly "naturalOrientation"
> property that returns the EXIF orientation of the image (an integer
> 1-8), or 1 if the image has no EXIF orientation metadata or it is
> corrupted or the image type doesn't expose EXIF data at all.
>

Rather than baking magic EXIF constants into the API, would it make more
sense to translate to degrees?

-- 
Glenn Maynard



More information about the whatwg mailing list