WeChat Mini Programs generates pictures from view/ canvas canvas

background

Mini Program, who has been working as a picture editor recently, puts some small decorations (pictures) on a picture, and moves and zooms by monitoring gestures and using CSS"s transform.

question

but there is a problem, that is, how to save the small decoration on the picture as a whole picture?
searched the Internet for a long time and saw that some ideas were to write view to the canvas, but there was no solution. If you write the picture directly to the canvas, how can you zoom and move it? please consult the bosses

.
After

is decorated, get the coordinates and size of each picture, draw it on the canvas in turn, and then save it.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bf324f-31e5b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bf324f-31e5b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?