WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
Bug 212405
Support density-corrected size from EXIF metadata
https://bugs.webkit.org/show_bug.cgi?id=212405
Summary
Support density-corrected size from EXIF metadata
Noam Rosenthal
Reported
2020-05-27 05:07:03 PDT
A new proposal to the HTML spec, following lack of traction to Content-DPR:
https://bugs.webkit.org/show_bug.cgi?id=145380
The proposal is to use 5 EXIF attributes (XDimension/YDimension/XResolution/YResolution/ResolutionUnit) to allow an image to declare its "intrinsic preferred size" and "intrinsic resolution" - and only if they match each other, affect its intrinsic (natural) size accordingly. Creating this bug to follow progress, in parallel with a similar Chromium bug, and the proposals to HTML spec. WICG:
https://discourse.wicg.io/t/proposal-exif-image-resolution-auto-and-from-image/4326/24
HTML spec proposal:
https://github.com/whatwg/html/pull/5574
WPT:
https://github.com/web-platform-tests/wpt/pull/23789
Chromium bug:
https://bugs.chromium.org/p/chromium/issues/detail?id=1069755
Attachments
Patch
(35.95 KB, patch)
2020-07-20 06:35 PDT
,
Noam Rosenthal
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Noam Rosenthal
Comment 1
2020-07-20 06:35:18 PDT
Created
attachment 404712
[details]
Patch
Noam Rosenthal
Comment 2
2020-07-20 06:36:50 PDT
(In reply to Noam Rosenthal from
comment #1
)
> Created
attachment 404712
[details]
> Patch
Uploaded a dry-run patch. It contains most of the bits and pieces, but waiting for the security issue with image metadata to be resolved before continuing (
https://github.com/w3c/csswg-drafts/issues/5165
#)
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug