Re: [csswg-drafts] [css-images-4] It's unclear what "intrinsic resolution" mean in 6.1 (image-resolution: from-image). (#4881)

Inches, mm (used in PNG), pixels and points all have fixed relationships in CSS values: 1in = 72pt = 96px. This applies in all media, print or screen. So provided the metadata specifies a resolution, it's unambiguous. If there is no resolution metadata, then a pixel is just a pixel: the resolution is 1dppx = 96dpi.

Now, if you want to dig into the relationship between "CSS pixels" and _actual physical_ pixels, well that's a different matter altogether. Perhaps start with https://github.com/w3c/csswg-drafts/issues/614 - still going strong, despite being closed for two years.


-- 
GitHub Notification of comment by faceless2
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4881#issuecomment-605088681 using your GitHub account

Received on Friday, 27 March 2020 16:15:44 UTC