jhuckaby / webcamjs

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

The camera's width is proportional to a certain percentage, causing the photo canvas to render an exception #232

Open ghost opened 7 years ago

ghost commented 7 years ago

I set the height of the camera to 270,220, and then I saved the image on the canvas, and the picture above the canvas was a problem.There are other proportions, I don't know what proportion is caused.

The second time,the first part of the picture appears in the canvas qq 20170518113521

If the height is 280, 220, it's normal.