Interactively changing the image to canvas, how?
I want to know how to make the image be added to the canvas so that it can be dragged and resized like in Photoshop, so that the selected image has a frame and by dragging the edge of which it can be reduced or enlarged.
Does this resize have a specific name?
Are there out-of-the-box solutions for this? Maybe it's not even done with canvas?
Try fabric.js . There are articles on habr. Russian-speaking authors :).
I tried it a long time ago and this is what happenedKira Randolph
To place the code, please use CodePen or similar tool. Thanks you!