W3C home > Mailing lists > Public > www-style@w3.org > February 2012

Re: [css3-images] How does image-orientation interact with EXIF data?

From: fantasai <fantasai.lists@inkedblade.net>
Date: Tue, 07 Feb 2012 10:26:09 +0100
Message-ID: <4F30EE31.6070703@inkedblade.net>
To: www-style@w3.org
On 02/07/2012 09:57 AM, Tab Atkins Jr. wrote:
> On Tue, Feb 7, 2012 at 12:24 AM, Simon Fraser<smfr@me.com>  wrote:
>> CSS3 Images talks about images being encoded sideways, and how this can be corrected for presentation via the image-orientation property:
>> <http://dev.w3.org/csswg/css3-images/#image-orientation>
>>
>> However, it doesn't describe how this interacts with EXIF data in the image. My understanding is that an image may be tagged with EXIF data that indicates that the camera was in landscape orientation when the picture was taken, but this does not affect how the image is encoded.
>>
>> I think the spec needs to talk about how image-orientation and EXIF rotation data interact.
>
> I don't think it's specified anywhere, but the web platform at this
> point requires exif data to be ignored by default.  I'd be happy to
> specify that somewhere in the draft.

Probably a good idea.

> David had previously suggested giving image-orientation some controls
> based on exif - in particular, the ability to flip an image (so you
> can achieve the "unnatural" orientations) and an 'auto' value that
> just uses the exif orientation directly.  This has also been requested
> by some Chrome devs.  I was planning to do this in Images 4, but if
> it's important I can add it now.  I'll raise an issue.

No. Goes in L4. We're feature frozen as of publishing LC.

~fantasai
Received on Tuesday, 7 February 2012 09:29:15 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:50 GMT