469,336 Members | 6,055 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,336 developers. It's quick & easy.

Handling Binary Stream In Java Script

HI All,

Could you please Help me to Handle Binary Stream Object in Java Script.
Sep 11 '07 #1
5 3661
gits
5,390 Expert Mod 4TB
hi ...

welcome to TSDN ...

please make it more clear ... what do you have so far and what do you want to achieve? do you have any code to post here?

kind regards
Sep 11 '07 #2
hi ...

welcome to TSDN ...

please make it more clear ... what do you have so far and what do you want to achieve? do you have any code to post here?

kind regards

HI,

I am trying to get image as binary stream from database. I want to handle the same in Java script to display as Graph in my UI.

Could you please help me out in the same

Kind regards,
Sep 11 '07 #3
dmjpro
2,476 2GB
HI,

I am trying to get image as binary stream from database. I want to handle the same in Java script to display as Graph in my UI.

Could you please help me out in the same

Kind regards,
File I/O is not possible with Standard JavaScript.

Kind regards,
Dmjpro.
Sep 11 '07 #4
gits
5,390 Expert Mod 4TB
hi ...

sorry ... but i don't know whether this might be possible ... javascript cannot handle this as far as i know ... may be there are activex-controls for IE out there ... but that would be proprietary for IE only. javascript is able to manipulate the dom of a document, you may do a lot of validation-logik or some dhtml-things etc. but it has no file-, stream-reading abilities ...

of course you may set img-sources dynamically ... but the images has to be provided as ready sources ... so you may do something like:

Expand|Select|Wrap|Line Numbers
  1. img_node_ref.src = 'new_image_src.jpg';
perhaps you may control plugins that handle streams, but js itself cannot do that ...

kind regards
Sep 11 '07 #5
acoder
16,027 Expert Mod 8TB
HI,

I am trying to get image as binary stream from database. I want to handle the same in Java script to display as Graph in my UI.
If you're getting the image from a database, you're using a server-side scripting language. Just use that to create the image on the server-side all ready for use on the client-side.
Sep 11 '07 #6

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Russ Reynolds | last post: by
7 posts views Thread by Matthias Czapla | last post: by
103 posts views Thread by Steven T. Hatton | last post: by
2 posts views Thread by Lisa Pearlson | last post: by
17 posts views Thread by Gladiator | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by Marylou17 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.