Possible Duplicates:
Get image data in Javascript?
How to encode image data within an HTML file?
Is there any way to convert an image to binary data in javascript and vice versa.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I think Get image data in JavaScript? answers your question:
Pass the
imgtag to this function. It will return the image in base64 encoding. It will be re-encoded though. So you cannot access the original image data.