Reading PNG metadata properties The GroupDocs.Metadata API supports extracting format-specific information from PNG images.
The following are the steps to read the native PNG metadata.
Load a PNG image Get the root metadata package Extract the native metadata package using PngRootPackage.PngPackage Read the PNG metadata properties AdvancedUsage.ManagingMetadataForSpecificFormats.Image.Png.PngReadTextChunks
using (Metadata metadata = new Metadata(Constants.InputPng)) { var root = metadata.GetRootPackage(); foreach (var chunk in root.PngPackage.TextChunks) { Console.WriteLine(chunk.Keyword); Console.WriteLine(chunk.Text); var compressedChunk = chunk as PngCompressedTextChunk; if (compressedChunk !...Editor Product Solution GroupDocs...
This code snippet demonstrates how to extract information about known properties that can be encountered in a particular package.
Load a file to examine Get a collection of PropertyDescriptor instances for any desired metadata package Iterate through the extracted descriptors advanced_usage.GettingKnownPropertyDescriptors
JavaScript const metadata = new groupdocs.metadata.Metadata("input.doc"); var root = metadata.getRootPackageGeneric(); var descriptors = root.getDocumentProperties().getKnowPropertyDescriptors(); for(var i=0;iEditor Product Solution GroupDocs...
Follow this guide and learn how to merge PDF files, combine several PDFs into one using GroupDocs.Merger for Java API and couple lines of code...Editor Product Solution GroupDocs...
Not all metadata properties extracted from a file are marked with tags. Some file formats and metadata standards allow adding fully custom properties that can’t be properly tagged by the library since their purpose is not clearly defined in the appropriate format/standard specification. In such cases, you can use the name of the property to locate and remove it. The following example demonstrates some advanced usage scenarios of the GroupDocs.Metadata search engine allowing to remove metadata properties....Editor Product Solution GroupDocs...
Reading FLV header properties The GroupDocs.Metadata API supports extracting format-specific information from the FLV file header.
The following are the steps to read the header of an FLV file.
Load an FLV video Get the root metadata package Extract the native metadata package using the FlvRootPackage.getHeader method Read the FLV header properties advanced_usage.managing_metadata_for_specific_formats.video.flv.FlvReadHeaderProperties
try (Metadata metadata = new Metadata(Constants.InputFlv)) { FlvRootPackage root = metadata.getRootPackageGeneric(); System.out.println(root.getHeader().getVersion()); System.out.println(root.getHeader().hasAudioTags()); System.out.println(root.getHeader().hasVideoTags()); System.out.println(root.getHeader().getTypeFlags()); } Working with XMP metadata GroupDocs....Editor Product Solution GroupDocs...
Learn how to merge EPUB files, combine EPUB files into one file programmatically in C# language using GroupDocs.Merger for .NET library....Editor Product Solution GroupDocs...
This article explains how to add attachment to PDF document with GroupDocs.Merger within your .NET applications....Editor Product Solution GroupDocs...