Metainformation in JPG

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi,

I am looking at a way to embed versioning metainformation in different image types. Since I program for the web, I want to handle PNG, GIF and JPG. For the two first types, I found out that Image.PropertyItem allows me to read (and hopefully write) the kind of metainformation I want. Unfortunately, it doesn't seem to work for JPG. However I know that JPG have a "comment" field, which would be exactly what I need.

Can anyone tell me how to programatically access the "comment" field in a JPG image?

Thanks a lot,
Laurent.
.