Вопрос

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