GroupDocs.Metadata for .NET offers an advanced set of metadata management and manipulation features, allowing developers to easily read, edit, remove, search, compare, replace and export metadata information from images and document formats without using any external software. Extract metadata details from PDF, Word, Excel, PowerPoint, Outlook, OneNote, Visio, Project, AutoCAD, Archive and Multimedia file formats, and perform supported metadata operations with true flexibility.
GroupDocs.Metadata for .NET makes it easy for .NET developers to extract to read and extract metadata information from TIFF files from within their applications by implementing a few easy steps.
GroupDocs.Metadata for .NET APIs are supported on all major platforms and operating systems. Before executing the code below, please make sure that you have the following prerequisites installed on your system.
using (var metadata = new GroupDocs.Metadata.Metadata("input.tiff"))
{
// extract all metadata properties that fall into a particular category
var properties = metadata.FindProperties(
p => p.Tags.Any(t => t.Category == GroupDocs.Metadata.Tagging.Tags.Content));
// iterate over all properties and display
foreach (var property in properties)
{
Console.WriteLine("{0} = {1}", property.Name, property.Value);
}
// extract all properties having a specific type and value
var year = DateTime.Today.Year;
properties = metadata.FindProperties(
p => p.Value.Type == GroupDocs.Metadata.Common.MetadataPropertyType.DateTime &&
p.Value.ToStruct(DateTime.MinValue).Year == year);
// display all datetime properties with the year value equal to the current year
foreach (var property in properties)
{
Console.WriteLine("{0} = {1}", property.Name, property.Value);
}
// extract all properties having names matching the specified regex
const string pattern = "^author|company|(.+date.*)$";
var regex = new System.Text.RegularExpressions.Regex(pattern,
System.Text.RegularExpressions.RegexOptions.IgnoreCase);
properties = metadata.FindProperties(p => regex.IsMatch(p.Name));
// display properties whose names match the following pattern
foreach (var property in properties)
{
Console.WriteLine("{0} = {1}", property.Name, property.Value);
}
}
Retrieve metadata information of TIFF file right now by visiting GroupDocs.Metadata Live Demos website. The live demo has the following benefits.
No need to download API
No need to write any code
Just upload the source file
Get download link to save the file
Multi format documents and images metadata extraction API for .NET. Retrieve metadata of some of the popular file formats as stated below.
(Zipped File)
(Excel Template)
(Excel Macro-Enabled Template)
(Excel 97 - 2003 Template)
(Open XML Workbook)
(Macro-enabled Spreadsheet)
(Excel Binary Workbook)
(Microsoft Excel Spreadsheet (Legacy))
(Windows Metafile)
(Raster Web Image Format)
(WAVE Audio File)
(Visio Stencil XML File)
(Visio Stencil File)
(Visio Drawing)
(Visio Drawing File)
(The 7th Guest Video File)
(vCard File)
(TrueType Font)
(TrueType Font Collection)
(Photoshop Document)
(Open XML presentation Format)
(Macro-enabled Presentation File)
(Microsoft PowerPoint 97-2003)
(PowerPoint Slide Show)
(Macro-enabled Slide Show)
(PowerPoint Slide Show)
(Microsoft PowerPoint Template Presentation)
(Microsoft PowerPoint Template File)
(Microsoft PowerPoint Template Files)
(Portable Network Graphic)
(Portable Document Format)
(OpenType Font)
(OpenDocument Text File Format)
(OpenDocument Spreadsheet)
(Outlook Message Item File)
(Microsoft Project Template)
(Microsoft Project File)
(MP3 Audio File)
(Apple QuickTime Movie)
(JPEG 2000 Image)
(Joint Photographic Expert Group Image)
(JPEG 2000 Core Image)
(High Efficiency Image Format)
(High Efficiency Image Format)
(Graphical Interchange Format)
(Flash Video File)
(Open eBook File)
(E-Mail Message)
(Enhanced Metafile Format)
(Autodesk Drawing Exchange Format)
(AutoCAD Drawing File)
(Microsoft Word Template File )
(Microsoft Word 2007+ Template File)
(Microsoft Word Template Files)
(Office 2007+ Word Document)
(Microsoft Word 2007 Marco File)
(Microsoft Word Binary Format)
(Graphics File Format)
(Digital Imaging and Communications in Medicine)
(DICOM Image)
(Bitmap Image File)
(Audio Video Interleave File)
(Advanced Systems Format File)
(Matroska Video File)
(OneNote Document)
(Graphics File Format)