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 (MetadataMetadata = 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 !...Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for .NET...
Working with Metadata in ASF files Reading ASF format-specific properties The GroupDocs.Metadata API supports extracting format-specific information from ASF files.
The following are the steps to read native ASF Metadata.
Load an ASF video Get the root Metadata package Extract the native Metadata package using AsfRootPackage.AsfPackage Read the ASF Metadata properties AdvancedUsage.ManagingMetadataForSpecificFormats.Video.Asf.AsfReadNativeMetadataProperties
using (MetadataMetadata = new Metadata(Constants.InputAsf)) { var root = Metadata.GetRootPackage(); var package = root.AsfPackage; // Display basic properties Console....Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for .NET...
Access, read, update, and remove EXIF Metadata using GroupDocs.Metadata for Python via .NET....Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for Python...
Access, read, update, add custom packages, and remove XMP Metadata using GroupDocs.Metadata for Python via .NET....Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for Python...
Reading MOV format-specific properties The GroupDocs.Metadata API supports extracting QuickTime atoms from a MOV video. The atom is the basic data unit in any QuickTime file. Please find more information on QuickTime atoms in the official specification: https://developer.apple.com/library/archive/documentation/QuickTime/QTFF/QTFFPreface/qtffPreface.html
The following are the steps to extract QuickTime atoms from a MOV video.
Load a MOV video Get the root Metadata package Extract the native Metadata package using the MovRootPackage.getMovPackage method Read the QuickTime atoms advanced_usage....Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for Java...
Reading MOV format-specific properties The GroupDocs.Metadata API supports extracting QuickTime atoms from a MOV video. The atom is the basic data unit in any QuickTime file. Please find more information on QuickTime atoms in the official specification: https://developer.apple.com/library/archive/documentation/QuickTime/QTFF/QTFFPreface/qtffPreface.html
The following are the steps to extract QuickTime atoms from a MOV video.
Load a MOV video Get the root Metadata package Extract the native Metadata package using MovRootPackage.MovPackage Read the QuickTime atoms AdvancedUsage....Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for .NET...
Detecting the GIF version The following sample of code will help you to detect the version of a loaded GIF image and extract some additional file format information.
Load a GIF image Extract the root Metadata package Use the FileType property to obtain file format information AdvancedUsage.ManagingMetadataForSpecificFormats.Image.Gif.GifReadFileFormatProperties
using (MetadataMetadata = new Metadata(Constants.InputGif)) { var root = Metadata.GetRootPackage(); Console.WriteLine(root.FileType.FileFormat); Console.WriteLine(root.FileType.Version); Console.WriteLine(root.FileType.ByteOrder); Console.WriteLine(root.FileType.MimeType); Console.WriteLine(root.FileType.Extension); Console.WriteLine(root.FileType.Width); Console.WriteLine(root.FileType.Height); } Working with XMP Metadata GroupDocs....Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for .NET...
This article explains how to access EXIF Metadata in a file of any supported format....Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for .NET...
This article explains how to access IPTC Metadata in a file of any supported format, GroupDocs.Metadata for Java provides the IIptc.getIptcPackage method....Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for Java...
Reading AVI header properties The GroupDocs.Metadata API supports extracting format-specific information from AVI file headers.
The following are the steps to read the header of an AVI file.
Load an AVI video Get the root Metadata package Extract the native Metadata package using the AviRootPackage.getHeader method Read the AVI header properties advanced_usage.managing_Metadata_for_specific_formats.video.avi.AviReadHeaderProperties
try (MetadataMetadata = new Metadata(Constants.InputAvi)) { AviRootPackage root = Metadata.getRootPackageGeneric(); System.out.println(root.getHeader().getAviHeaderFlags()); System.out.println(root.getHeader().getHeight()); System.out.println(root.getHeader().getWidth()); System.out.println(root.getHeader().getTotalFrames()); System.out.println(root.getHeader().getInitialFrames()); System.out.println(root.getHeader().getMaxBytesPerSec()); System....Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for Java...