The image has a large size client_width> 1920 and client_height height> 1080. And the canvas is 1920x1080. How to use javascript function drawimage () to transfer such an image completely without cropping to such a new canvas?
<canvas id="img" name="img" width="1920" height="1080"></canvas> <img id="duble_img" src="photo.jpg">