W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2014

Re: [whatwg] canvas drawImage and EXIF orientation metadata

From: Anne van Kesteren <annevk@annevk.nl>
Date: Wed, 16 Apr 2014 18:57:41 +0100
Message-ID: <CADnb78jnvd1He-pDHnOO==8L9wWZQ6mKi7ikb8ScZdDkoudeQA@mail.gmail.com>
To: Justin Novosad <junov@google.com>
Cc: whatwg <whatwg@lists.whatwg.org>, Boris Zbarsky <bzbarsky@mit.edu>
On Wed, Apr 16, 2014 at 5:54 PM, Justin Novosad <junov@google.com> wrote:
> From an implementation standpoint though, it would make sense for image
> elements to to store decoded images with the corrected orientation baked-in,
> and to be able to use that cached decoded image buffer directly in
> drawImage, without having to re-apply (or even verify) orientation
> correction at that time.  But of course, that implies resolving style at
> image decode time.  What to do?

We could consider moving this property into markup. It seems somewhat
more semantic than stylistic too. Image orientation affects the
content.


-- 
http://annevankesteren.nl/
Received on Wednesday, 16 April 2014 17:58:07 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:28 UTC