Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More information on how EXIF image sizing actually works #6836

Open
hamishwillee opened this issue Jul 13, 2021 · 0 comments
Open

More information on how EXIF image sizing actually works #6836

hamishwillee opened this issue Jul 13, 2021 · 0 comments
Labels
Content:Media Media docs

Comments

@hamishwillee
Copy link
Collaborator

From FF90 (and similar vintage browsers) browsers respect the image size information in EXIF for working out the intrinsic sizes of an image. This was added for Client Hint HTTP headers - it allows a server to return a low-res placeholder image of the correct size for layout, and then later supply a higher resolution image. Detailed explainer on that here: https://github.com/eeeps/exif-intrinsic-sizing-explainer

Anyway, the existence of this feature was added in #6798. We will also add some information once Client Hints are accepted in the standard.

However what that is likely to miss is the detail on exactly what EXIF fields must be set. There is some discussion of that in whatwg/html#5574 - sounds like we need all four of PixelXDimension, PixelYDimension, ResolutionX, and ResolutionY, ... and ResolutionUnit.

Further links:

@Rumyra Rumyra added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Nov 25, 2021
@sideshowbarker sideshowbarker removed the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Jun 22, 2022
@Josh-Cena Josh-Cena added the Content:Media Media docs label Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:Media Media docs
Projects
None yet
Development

No branches or pull requests

4 participants