Reading JPEG2000 comments The GroupDocs.Metadata API supports extracting format-specific information from JPEG2000 images.
The following are the steps to read the JPEG2000 comments (pieces of Metadata represented as strings with the length up to 64 kbytes).
Load a JPEG2000 image Get the root Metadata package Extract the native Metadata package using the Jpeg2000RootPackage.getJpeg2000Package method Read the JPEG2000 comments advanced_usage.managing_Metadata_for_specific_formats.image.jpeg2000.Jpeg2000ReadComments
try (MetadataMetadata = new Metadata(Constants.InputJpeg2000)) { Jpeg2000RootPackage root = Metadata....Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for Java...
This article explains that the GroupDocs.Metadata for Java represents any loaded file as a tree consisting of Metadata properties and nested Metadata packages. You can easily iterate through the Metadata tree...Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for Java...
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...
This article shows how to access XMP Metadata in a file of any supported format....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 the MovRootPackage.getMovPackage method Read the QuickTime atoms advanced_usage....Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for Java...
This article explains how to access EXIF Metadata in a file of any supported format, GroupDocs.Metadata for Java provides the IExif.getExifPackage method....Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for Java...
This article shows how to access XMP Metadata in a file of any supported format....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...
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...