| Summary: | EXIF resolution information not applied | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Eric Portis <e> |
| Component: | Images | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Normal | CC: | sabouhallawa, simon.fraser, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 14 | ||
| Hardware: | Mac (Intel) | ||
| OS: | macOS 11 | ||
|
Description
Eric Portis
2021-07-13 23:53:59 PDT
Firefox and Safari match for me. Chrome shows the image larger. The image EXIF has a DPI of 32.4 pixels per inch. @smfr: Make sure you test in Firefox 90, which is fairly new and also the first version to ship support for EXIF-based intrinsic sizing. In v90, the third image appears large (as expected), for me. Re: the DPI, a couple of notes... - Binary EXIF stores `XResolution` and `YResolution` as rationals, hence 162/5 in the exiftool code. (A happy side effect of this is perfect precision.) exiftool prints decimals when it reports, though. - The default values, according to the EXIF spec, are 72 dpi, so 32.4 is equivalent to 0.45x/ddpx, in terms of HTML/CSS. s/ddpx/dppx |