modifying or adding extra information to jpeg image in winmo6

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kl2ish
    New Member
    • Nov 2009
    • 4

    #1

    modifying or adding extra information to jpeg image in winmo6

    Hello Everyone,
    I am doing a college project. I am completely new to c# and i am creating an app which clicks a picture and categorizes it . Now i am trying to store this category in the jpeg image as a metadata information.
    What are the possible ways to do it ? Its just a string of data that would be decoded by my php/sql server.

    I was giving PropertyItems a look for this. Any suggestions would really be welcome.

    Thank you
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    PropertyItems is where the metadata is stored, so that is where you would put the data.
    Check out this list for useful IDs (outdated i think though)
    http://msdn.microsoft.com/en-us/library/ms932271.aspx

    Comment

    • kl2ish
      New Member
      • Nov 2009
      • 4

      #3
      Thank you Platter,
      my question would be by modifying the property items would i not have to decode the image again ?

      What i am trying to achieve is fairly simple, add a gps latitude, gps longitude and a metadata perhaps under comment.

      any kind of input for this would be appreciated.

      Thanks

      Comment

      • kl2ish
        New Member
        • Nov 2009
        • 4

        #4
        In my this quest,
        i forgot to mention i use compact framework. I see there PropertyItems cannot be used with compact frameworks.

        What is my best bet here ? create a c++ based wrapper for this ?

        Any idea guys ?

        Comment

        • Plater
          Recognized Expert Expert
          • Apr 2007
          • 7872

          #5
          If you can do it in c++, that's probably your best option for the compact framework.

          Comment

          Working...