is it possible to create and display a picture file from dataURL received by POST?
Something like:
<?
$imgstr = $_POST["imgdata"]; //data:image/png;base64,.... etc (it's always PNG)
echo base64_decode($imgstr); // idk what this really does
?>
I can’t use <img> tag to display it. It needs to act like a “normal” image file.
If e.g. your input is
Then you can do what you want with