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...
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...
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...
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...
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...
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 getGifImageType method to obtain file format information advanced_usage.managing_Metadata_for_specific_formats.image.gif.GifReadFileFormatProperties
try (MetadataMetadata = new Metadata(Constants.InputGif)) { GifRootPackage root = Metadata.getRootPackageGeneric(); System.out.println(root.getGifImageType().getFileFormat()); System.out.println(root.getGifImageType().getVersion()); System.out.println(root.getGifImageType().getByteOrder()); System.out.println(root.getGifImageType().getMimeType()); System.out.println(root.getGifImageType().getExtension()); System.out.println(root.getGifImageType().getWidth()); System.out.println(root.getGifImageType().getHeight()); } Working with XMP Metadata GroupDocs....Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for Java...
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...
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...
GroupDocs.Metadata for Java provides functionality that allows working with different kinds of diagrams such as VDX, VSDX, VSX, etc. For the full list of supported document formats please refer to Supported document formats.
Detecting the exact type of a document The following sample of code will help you to detect the exact type of a loaded diagram and extract some additional file format information.
Load a PDF document Extract the root Metadata package Use the getDiagramType method to obtain file format information advanced_usage....Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for Java...
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...