0

How to save a photo with html2canvas library in the place we specify? (Without the user noticing the download)

27th Apr 2020, 7:20 PM
‎مصطفی نوری‎
‎مصطفی نوری‎ - avatar
9 ответов
+ 1
For safety reasons, it's not possible "without the user noticing the download", and by download, only the user could manualy choose the place to save it... (else any malicious scripts could broke your computer only by overflowing the file system ^^)
28th Apr 2020, 11:01 AM
visph
visph - avatar
0
Thanks for the answer, but I want to take the text from the user and stick it in the middle of a photo that I used canvas, but I want to take the photo as a puzzle and cut it into pieces. How can I do this that both the photo and the text of the canvas I have a puzzle in each piece, considering that I don't know where the text is supposed to be in the photo.
28th Apr 2020, 1:19 PM
‎مصطفی نوری‎
‎مصطفی نوری‎ - avatar
0
Have you started some code about that?
28th Apr 2020, 1:23 PM
visph
visph - avatar
0
I need to know at wich point I would start to guide you ^^
28th Apr 2020, 1:56 PM
visph
visph - avatar
0
A new solution came to my mind that it would be better to put the final photo instead of saving it on the body and cut it into pieces, then there is no need to save the photo and possible problems.
29th Apr 2020, 5:33 AM
‎مصطفی نوری‎
‎مصطفی نوری‎ - avatar
0
I don't know what you're exactly mean by "saving [ the final photo ] on the body" versus "put the final photo"... so I'm unable to confirm or infirm that later is better ^^ It would be easier to figure it, if you have started already some code and you provide it ;)
29th Apr 2020, 5:38 AM
visph
visph - avatar
0
Thank you for your help and I was able to find a solution
29th Apr 2020, 6:44 PM
‎مصطفی نوری‎
‎مصطفی نوری‎ - avatar
0
Well, congratulation! \o/ Could we take a look at the result? :)
29th Apr 2020, 6:46 PM
visph
visph - avatar
0
I will make and publish the game soon
3rd May 2020, 8:02 PM
‎مصطفی نوری‎
‎مصطفی نوری‎ - avatar