Html2canvas Tutorial to Get & Set & Scale Size of Image and Scale it in Horizontal and Vertical Direction in Browser Using Javascript

 

 

You need to pass width and height as options to html2canvas as mentioned in docs. Here is the fiddle for the same.

Leave a Reply