JPEG Comments

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Dennis Marks

    JPEG Comments

    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?

    --
    Dennis Marks

    To reply change none to dcsi.


    -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
    http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
    -----== Over 100,000 Newsgroups - 19 Different Servers! =-----
  • Murray

    #2
    Re: JPEG Comments


    "Dennis Marks" <denmarks@none. net> wrote in message
    news:0805200410 17159233%denmar ks@none.net...[color=blue]
    > 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?[/color]

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


    Comment

    • Evertjan.

      #3
      Re: JPEG Comments

      Murray wrote on 08 mei 2004 in comp.lang.javas cript:[color=blue]
      > "Dennis Marks" <denmarks@none. net> wrote in message
      > news:0805200410 17159233%denmar ks@none.net...[color=green]
      >> 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?[/color]
      >
      > Not using Javascript. Javascript only has access to the HTML dom tree,
      > not the actual binary data contained in the image.[/color]

      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)

      Comment

      • Dennis Marks

        #4
        Re: JPEG Comments

        In article <Xns94E3D4599E9 77eejj99@194.10 9.133.29>, Evertjan.
        <exjxw.hannivoo rt@interxnl.net > wrote:
        [color=blue]
        > Murray wrote on 08 mei 2004 in comp.lang.javas cript:[color=green]
        > > "Dennis Marks" <denmarks@none. net> wrote in message
        > > news:0805200410 17159233%denmar ks@none.net...[color=darkred]
        > >> 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?[/color]
        > >
        > > Not using Javascript. Javascript only has access to the HTML dom tree,
        > > not the actual binary data contained in the image.[/color]
        >
        > Not quite true.
        >
        > Serverside code, either js or vbs, has access.
        >
        > Clientside code, either js or vbs, has NOT.[/color]

        Too bad. The comment would be a great place to keep descriptive data to
        be displayed with a picture.

        --
        Dennis Marks

        To reply change none to dcsi.


        -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
        http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
        -----== Over 100,000 Newsgroups - 19 Different Servers! =-----

        Comment

        • Matt Kruse

          #5
          Re: JPEG Comments

          Dennis Marks wrote:[color=blue]
          > Too bad. The comment would be a great place to keep descriptive data
          > to be displayed with a picture.[/color]

          There are a number of server-side image gallery applications which do
          exactly this :)

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


          Comment

          Working...