Connecting Tech Pros Worldwide Help | Site Map

modifying or adding extra information to jpeg image in winmo6

Newbie
 
Join Date: Nov 2009
Posts: 3
#1: 2 Weeks Ago
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's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,148
#2: 2 Weeks Ago

re: modifying or adding extra information to jpeg image in winmo6


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
Newbie
 
Join Date: Nov 2009
Posts: 3
#3: 2 Weeks Ago

re: modifying or adding extra information to jpeg image in winmo6


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
Newbie
 
Join Date: Nov 2009
Posts: 3
#4: 1 Week Ago

re: modifying or adding extra information to jpeg image in winmo6


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 ?
Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,148
#5: 1 Week Ago

re: modifying or adding extra information to jpeg image in winmo6


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