phoboslab/jsmpeg-vnc

Stretched/zommed in image on browser (Chrome/IE/Edge)

sirdashadow opened this issue · 1 comments

The image on the browser is zoomed in 2x or 3x or maybe more. I am trying to capture a 480x800 area and even with cropping it still will not show in the original size. I already tried to ctrl-0 and hold down the ctrl key then scroll down to try to force the browsers to scale the image but it will not work.

The video canvas is always stretched to 100% width. You can change this by removing these two lines of CSS in the index.html.