Groups | Blog | Home
all groups > dotnet drawing api > november 2007 >

dotnet drawing api : Add metadata to TIFF file



Ben van Erp
11/22/2007 10:58:01 PM
I used C# to create some bitmaps and save them as a TIFF file. Now i want to
add metadata to the TIFF file. How can i do this?

Michael Phillips, Jr.
11/23/2007 10:54:51 AM
[quoted text, click to view]

You have many choices. They include the following:
1) Use the COM interface IPropertySetStorage.
2) Net 2.0 System.Drawing.Imaging PropertyItem Class
3) Net 3.0 System.Media.Imaging

Of the three, Net 3.0 is the easiest to work with.

See the following for an example:
http://www.codeproject.com/useritems/EXIF_Info_in_NET_30.asp

[quoted text, click to view]

Bob Powell [MVP]
11/25/2007 12:05:26 AM
See the GDI+ FAQ for a neat image metadata reader that also demonstrates how
to write.

--
--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.


[quoted text, click to view]
AddThis Social Bookmark Button