I have a page where users can create their own SVG images. Now I would like to access these images on the server (php) so they can be sent to an email address.
With these instructions I am able to convert the SVG to a canvas and then convert the canvas to jpeg/png. I'm not worried about the SVG tree anymore as it doesn't need to be edited anymore, thus converting it to a normal image (I was assuming that would be easier to handle, ultimately I want to send that image as an attachment in the email).
What would be the most efficient way of doing this? Is it possible to POST the converted jpeg/png to the server? Thanks guys, kinda lost here.