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

Re: [whatwg] canvas drawImage and EXIF orientation metadata

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 16 Apr 2014 10:53:46 -0400
Message-ID: <534E997A.5090504@mit.edu>
To: Justin Novosad <junov@google.com>
Cc: whatwg <whatwg@lists.whatwg.org>
On 4/16/14 10:22 AM, Justin Novosad wrote:
> But why a new version of drawImage? Couldn't we just modify the existing
> drawImage definition to state that it takes into account the
> image-orientation property on the source image?

We could do that, though it introduces a dependency of drawImage on 
style computation that isn't there right now.

> So I think we can make that change to the drawImage spec
> without breaking stuff, as long as we make the change
> while image-orientation is still an experimental feature.

Note that image-orientation has been shipping in Firefox for several 
releases now.

-Boris
Received on Wednesday, 16 April 2014 14:54:14 UTC

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