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

No way of setting image resolution #39

Open
ronreiter opened this issue Sep 1, 2021 · 2 comments
Open

No way of setting image resolution #39

ronreiter opened this issue Sep 1, 2021 · 2 comments

Comments

@ronreiter
Copy link

The spec today does not let users specify what resolution the image should be in. This causes low image quality in some devices.

@anssiko
Copy link
Member

anssiko commented Sep 1, 2021

That is correct and this limitation is there by design. The capture attribute is considered a hint.

As a workaround, it is possible to check the resolution using the FileReader API along the lines of example 6. Please let us know if that would work for your use case. Thanks!

@ronreiter
Copy link
Author

So the spec will always try to, by design, take the largest image possible from the device?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants