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

Allow ImageCapture API to enable accepting images direct from mobile camera #16

Open
cameronelliott opened this issue Dec 22, 2022 · 2 comments

Comments

@cameronelliott
Copy link

I suspect this isn't too difficult, but it would be cool if there was a 4th option beyond: file,image,text
"image from camera"

I think the correct API is the ImageCapture API: https://developer.mozilla.org/en-US/docs/Web/API/ImageCapture

@cameronelliott
Copy link
Author

This might marginally reduce "secret exposure area/risk" by removing the step where an image is saved to disk outside the browser before being encrypted.

@mprimi
Copy link
Owner

mprimi commented Dec 22, 2022

I like the idea!

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