Get image data in Javascript?

Posted by detariael on Stack Overflow See other posts from Stack Overflow or by detariael
Published on 2009-06-01T08:43:42Z Indexed on 2010/03/11 18:19 UTC
Read the original article Hit count: 164

I have a regular HTML page with some images (just regular IMG HTML tags). I'd like to get their content, base64 encoded preferably, without the need to redownload the image (ie. it's already loaded by the browser, so now I want the content).

I'd love to achieve that with Greasemonkey and Firefox.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about greasemonkey