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

How can I use maximum resolution of the device when capturing a screenshot? #368

Open
gkrialashvili opened this issue Feb 22, 2023 · 5 comments

Comments

@gkrialashvili
Copy link

I have a problem when I want to capture the screenshot on small devices, the image gets stretched and has a horrible quality afterward. So I just want to send captured image with full resolution and quality to a post call and show smaller resolution image to user. But anything I do image looks horrible.

https://codepen.io/gkrialashvili/pen/KKxzBdg (child webcam component)

https://codepen.io/gkrialashvili/pen/RwYaBWO (Parent)

@gkrialashvili
Copy link
Author

msg892843788-78053
msg892843788-78052

@ManuLpz4
Copy link

Same here

@Martinnord
Copy link

I'm also curious about this. Has anyone made any progress?

@ManuLpz4
Copy link

ManuLpz4 commented Apr 5, 2023

I'm also curious about this. Has anyone made any progress?

We are using react-camera-pro but I'm not happy with the solution

@nicholas-aponte
Copy link

This is not a quality problem, its that you are trying to squeeze a large image in a small container. You need to downscale the img and make sure your container has the same aspect ratio

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

4 participants