jhuckaby / webcamjs

HTML5 Webcam Image Capture Library with Flash Fallback
MIT License
2.5k stars 1.11k forks source link

Share info on zoom out transform #300

Closed herryswastika closed 5 years ago

herryswastika commented 5 years ago

Thanks @jhuckaby I am using QR code / scanner in my app, and using Webcamjs as an additional proof. So user scan the QR, and when clicking Submit button, his/her phone grab a picture using WebcamJS I am using constraint with video facing mode environment. But the width and height follows the viewer size, and so is the result. I came accross 'How to zoom container div and all its contents to a specific size' in stackoverflow, using the script from @subbu I can zoom out the viewer (smaller screen in mobile) but with large output as set in the Webcam.set() option. Closing this.