HighTechTalks DotNet Forums  

Add metadata to TIFF file

Dotnet Framework (Drawing) microsoft.public.dotnet.framework.drawing


Discuss Add metadata to TIFF file in the Dotnet Framework (Drawing) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Ben van Erp
 
Posts: n/a

Default Add metadata to TIFF file - 11-23-2007 , 12:58 AM






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?

Thanks, Ben

Reply With Quote
  #2  
Old   
Michael Phillips, Jr.
 
Posts: n/a

Default Re: Add metadata to TIFF file - 11-23-2007 , 09:54 AM






Quote:
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?
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..._in_NET_30.asp

"Ben van Erp" <BenvanErp (AT) discussions (DOT) microsoft.com> wrote

Quote:
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?

Thanks, Ben



Reply With Quote
  #3  
Old   
Bob Powell [MVP]
 
Posts: n/a

Default Re: Add metadata to TIFF file - 11-24-2007 , 05:05 PM



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.


"Ben van Erp" <BenvanErp (AT) discussions (DOT) microsoft.com> wrote

Quote:
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?

Thanks, Ben


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.