Bug 212405

Summary: Support density-corrected size from EXIF metadata
Product: WebKit Reporter: Noam Rosenthal <noam>
Component: ImagesAssignee: Noam Rosenthal <noam>
Status: NEW    
Severity: Normal CC: ap, cdumez, changseok, colin, esprehn+autocc, ews-watchlist, glenn, gyuyoung.kim, japhet, kondapallykalyan, pdr, sabouhallawa, simon.fraser, steven
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=145380
Bug Depends on: 217821, 217820    
Bug Blocks:    
Attachments:
Description Flags
Patch none

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
Noam Rosenthal
Comment 1 2020-07-20 06:35:18 PDT
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.