https://pricebosema12.blogspot.com/2024/05/html5-limit-moving-image-into-canvas.html
Html5 Limit Moving Image Into Canvas