I am new to html and javascript. And I'm trying to take a screenshot of my html page and save it as a file jpgor png.
Here is my html image

I want to take a screenshot of the right side (painted in gray) by dragging divsand dropping by clicking the "Save Image" button in the right corner of the image.
How to take a screenshot using html and javascript? I saw some of html2canvas, but that is not what I want. I think..
Does anyone have any ideas for this?
Thank,
ps if you want my html code i can EDIT
source
share