JPG images to binary

  • Thread starter robert.differentone
  • Start date
R

robert.differentone

Hi,

Does anybody know any javascript which converts images into binary
data.

Thanks in advance,

R.
 
E

Evertjan.

wrote on 02 feb 2006 in comp.lang.javascript:
Does anybody know any javascript which converts images into binary
data.

Images in a computer are binary data.
 
J

Julian Turner

Hi,

Does anybody know any javascript which converts images into binary
data.

Thanks in advance,

R.

If you mean, read a binary file into a JavaScript variable, then
JavaScript does not have a binary data type. You can indirectly handle
binary in JavaScript, but performance will not be good. See the
following-

<URL:http://www.henk-reints.nl/cgi-bin/getsrc?http://henk-reints.nl/jscript/js/hr$binstring.js>


<URL:http://groups.google.co.uk/group/co...an+Turner+Binary&rnum=1&#doc_d130efcd7f345ce6>

Regards

Julian
 
R

robert.differentone

Thanks for help.. but i need to convert image into a stream of bits or
a stream of characters.

R
 
R

robert.differentone

Thanks for help.. but i need to convert image into a stream of bits or
a stream of characters.

R
 
R

robert.differentone

I want to calculate the sha1 hash of image data for all images in the
body. Is there any way to do that?
Any help would be appreciated!
Thanks !

R
 
E

Evertjan.

wrote on 03 feb 2006 in comp.lang.javascript:
Thanks for help.. but i need to convert image into a stream of bits or
a stream of characters.

Please quote what you are replying to. If you want to post a followup via
groups.google.com, don't use the "Reply" link at the bottom of the article.
Click on "show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers.
<http://www.safalra.com/special/googlegroupsreply/>
 
E

Evertjan.

wrote on 03 feb 2006 in comp.lang.javascript:
I want to calculate the sha1 hash of image data for all images in the
body. Is there any way to do that?
Any help would be appreciated!

Please quote what you are replying to. If you want to post a followup via
groups.google.com, don't use the "Reply" link at the bottom of the article.
Click on "show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers.
<http://www.safalra.com/special/googlegroupsreply/>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top