views:

37

answers:

1

I see more than a few questions asking how to read metadata from an image, but I haven't seen as many asking how to write metadata. Basically, I need to add one item of metadata ("ImageDescription") to a PNG image I'm generating dynamically (creating a Bitmap object and procedurally generating all the content in it).

What would be the best way to add metadata to an image with .NET either before or just after writing the file to disk?

+1  A: 

You could use the FreeImage.NET library, which I believe can both read and write PNG files, as well as their metadata.

LBushkin
Thanks, this seems like it should work.. if only I can get it to seemingly write the tag I want it to write
Sukasa