forgottensoul Posted January 14, 2007 Posted January 14, 2007 (edited) I have been able to read existing Metadata embedded in images via C# using PropertyItems which is readonly. I have been unable to find a way to add or alter the metadata that might be missing. For example I have some scanned images without the DateTime metaData. How do you add to Metadata to a image? Edited January 14, 2007 by forgottensoul Quote
Leaders snarfblam Posted January 15, 2007 Leaders Posted January 15, 2007 Not sure if this is what you are looking for, but it is something: Lossless JPEG Rewrites in C#. Information seems to be surprisingly scarce on the net for this topic. Quote [sIGPIC]e[/sIGPIC]
forgottensoul Posted January 16, 2007 Author Posted January 16, 2007 Thank you for the link. I will have to take a look at it closer. To give a bit more background the following is what the MSDN site has on "metadata" Imaging Overview Some image files contain metadata that describes the content or the characteristics of the file. For example, most digital cameras create images that contain metadata about the make and model of the camera used to capture the image. All of that information I can pull out of the images taken with my Digital Camera. Windows also displays in Explorier the "DateTime" of when the picture was taken. This information is what I would like to add to all my scanned pictures. Right now I have an XML file that contains that data. It would be nice to populate it in the pictures so it will go with the picture. Since the original post, it appears that .net 3.0 might solve my problems. I found: BitmapMetadata Class in namespace system.windows.media which states on MSDN as: Provides support for reading and writing metadata to and from a bitmap image. If I find a solution I shall post it here. The Imaging overview page has some code which might work too. Now I have 2 things to look at. :) Thank you for your time Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.