I have to program a website on which I should upload a picture and add a frame to it. I would save the frames as a transparent PNG and overlay them over the uploaded one. After that it should get downloaded with the overlayed frame.

有帮助吗?

解决方案

You need to create a Canvas element, and draw the two images in its context, later on you can get the data of the canvas and save it to a file.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top