I am creating an application for T-shirt customization in which I have put the canvas on image using CSS, but the problem is saving that image as canvas. toDataURL
just gives part of the canvas area, but I want the whole image. There are other solutions on Stack Overflow but they do not solve this problem.