W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2013

Re: [whatwg] Add EXIF metadata support in Canvas.toBlob?

From: Mark Callow <callow.mark@artspark.co.jp>
Date: Fri, 14 Jun 2013 14:22:35 +0900
Message-ID: <51BAA89B.3000909@artspark.co.jp>
To: Jonas Sicking <jonas@sicking.cc>
Cc: whatwg <whatwg@lists.whatwg.org>, Jonas Sicking <sicking@mozilla.com>, David Flanagan <dflanagan@mozilla.com>
On 2013/06/14 12:45, Jonas Sicking wrote:
> Wouldn't an even better solution be to make browsers support that EXIF
> metadata and simply render the image correctly without any action from
> the page? At least assuming that the EXIF metadata for orientation is
> standardized and implemented consistently between cameras?
It would, except that I think it would break a lot of existing web pages
whose images have been rotated to a top-left orientation but whose EXIF
metadata says something else. There was a period of years after EXIF
appeared when many tools did not handle EXIF metadata, but, because it
is packaged in a standard APP block of the JPG/JFIF format, may well
have copied it unchanged into destination files after processing.

Also images on sites using such a feature could appear with incorrect
orientation in older browsers. The same could be said of rotating via
JS/CSS, that reads EXIF from the HTMLImageElement, but at least the JS
could issue a warning and recommend updating to a more recent browser.


The EXIF orientation is standardized and handled consistently. However
cameras without orientation sensors, i.e., older or cheaper cameras or
cell phones, will set it to top left. But users of such cameras will
notice the incorrect orientation when viewing on their computers and
will rotate the images.

Regards

    -Mark

-- 
注意:この電子メールには、株式会社エイチアイの機密情報が含まれている場合
が有ります。正式なメール受信者では無い場合はメール複製、 再配信または情
報の使用を固く禁じております。エラー、手違いでこのメールを受け取られまし
たら削除を行い配信者にご連絡をお願いいたし ます.

NOTE: This electronic mail message may contain confidential and
privileged information from HI Corporation. If you are not the intended
recipient, any disclosure, photocopying, distribution or use of the
contents of the received information is prohibited. If you have received
this e-mail in error, please notify the sender immediately and
permanently delete this message and all related copies.
Received on Friday, 14 June 2013 05:23:01 UTC

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