W3C home > Mailing lists > Public > public-css-archive@w3.org > March 2020

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

From: Mike Bremford via GitHub <sysbot+gh@w3.org>
Date: Fri, 27 Mar 2020 16:15:42 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-605088681-1585325741-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:02 UTC