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

Received on Wednesday, 16 April 2014 17:58:07 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:19 UTC