Take the 2-minute tour ×

How is it done, of course without external libraries, in regular HTML with JavaScript? This seems like it should be a simple one-liner.

I'd like to just do:

share|improve this question
add comment

1 Answer

Try storing base64 data, use canvas. Check this: Get image data in Javascript?

share|improve this answer
add comment

Your Answer


