I would like to know if there is any way to create a new Image from ImageData, which was previously obtained from a canvas element.
I’ve searched for a solution, but they all seem to be drawing the result to a canvas.
I need a way to convert an ImageData object to an Image directly, if it’s possible.
You can use toDataURL method in Canvas.
It makes a image data as Data URI.
If you want to know user’s browser supports Data URI Scheme, You can use this function.