HighDots Forums  

Re: JPEG Comments

Javascript JavaScript language (comp.lang.javascript)


Discuss Re: JPEG Comments in the Javascript forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Murray
 
Posts: n/a

Default Re: JPEG Comments - 05-08-2004 , 01:38 PM







"Dennis Marks" <denmarks (AT) none (DOT) net> wrote

Quote:
I have been told that there is no way to access the JPEG comment field
using javascript. I have used a hex editor and can see the comment near
the beginning of the JPEG file. Is there any way to access the source
of a JPEG picture that has been loaded and then possibly extract and
manipulate the data to extract the comment?
Not using Javascript. Javascript only has access to the HTML dom tree, not
the actual binary data contained in the image.




Reply With Quote
  #2  
Old   
Evertjan.
 
Posts: n/a

Default Re: JPEG Comments - 05-08-2004 , 02:52 PM






Murray wrote on 08 mei 2004 in comp.lang.javascript:
Quote:
"Dennis Marks" <denmarks (AT) none (DOT) net> wrote in message
news:080520041017159233%denmarks (AT) none (DOT) net...
I have been told that there is no way to access the JPEG comment
field using javascript. I have used a hex editor and can see the
comment near the beginning of the JPEG file. Is there any way to
access the source of a JPEG picture that has been loaded and then
possibly extract and manipulate the data to extract the comment?

Not using Javascript. Javascript only has access to the HTML dom tree,
not the actual binary data contained in the image.
Not quite true.

Serverside code, either js or vbs, has access.

Clientside code, either js or vbs, has NOT.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)


Reply With Quote
  #3  
Old   
Matt Kruse
 
Posts: n/a

Default Re: JPEG Comments - 05-09-2004 , 04:29 PM



Dennis Marks wrote:
Quote:
Too bad. The comment would be a great place to keep descriptive data
to be displayed with a picture.
There are a number of server-side image gallery applications which do
exactly this

--
Matt Kruse
Javascript Toolbox: http://www.mattkruse.com/javascript/




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.