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

expose image orientation metadata on HTMLImageElement #5602

Open
heycam opened this issue Jun 3, 2020 · 2 comments · May be fixed by #5603
Open

expose image orientation metadata on HTMLImageElement #5602

heycam opened this issue Jun 3, 2020 · 2 comments · May be fixed by #5603
Labels
addition/proposal New features or enhancements needs implementer interest Moving the issue forward requires implementers to express interest topic: img

Comments

@heycam
Copy link
Contributor

heycam commented Jun 3, 2020

Since the recent changes to the initial value of the image-orientation property, I have seen a couple of requests to expose the orientation metadata of the image directly, so that scripts can perform their own orientation processing. This seems simple enough to do. I will submit a PR shortly with an initial proposal.

@stephenmcgruer @Gyuyoung

heycam added a commit to heycam/html that referenced this issue Jun 3, 2020
@heycam heycam linked a pull request Jun 3, 2020 that will close this issue
3 tasks
@annevk annevk added topic: img addition/proposal New features or enhancements needs implementer interest Moving the issue forward requires implementers to express interest labels Jun 3, 2020
@othermaciej
Copy link

Can you be more specific about the use cases for this?

@chrishtr
Copy link
Contributor

chrishtr commented Jul 1, 2020

Can you be more specific about the use cases for this?

I'd like to know a bit more also about which site wants to rotate the images via script, and in what situation. Is it image editing sites that embed them in canvas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
addition/proposal New features or enhancements needs implementer interest Moving the issue forward requires implementers to express interest topic: img
Development

Successfully merging a pull request may close this issue.

4 participants