I would like for a visitor to my website to be able to perform the following steps:
- Enter text in a few fields in a form and upload an image. (This is trivial.)
- Then see a preview of what the input would look like as an image, with the text input overlaying the uploaded image
- Save the image that was previewed to the server when the user submits the form.
I would like to do this using C# and ASP.NET. I've read that there are PHP options, but I would like to avoid mixing PHP and C# code.
I found this post: Convert webpage to image from ASP.NET, but that solution is for a desktop application.
I also found this post: Capture screenshot of active window?, but I don't want to have to hope that the user has their window sized correctly.
Step 1 is straightforward. I know how to do it, but I included it to be clear about what I am trying to accomplish.
user1132959's answer below helped me perform steps 2 and 3. I edited this post in response to it being put on hold. I hope this post can help someone else.