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...
This article explains how to access IPTC Metadata in a file of any supported format, GroupDocs.Metadata for Node.js via Java provides the IIptc.getIptcPackage method....Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for Node...
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 about the API supports extracting Metadata from WAV files...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...
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...
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 Photoshop Metadata properties The GroupDocs Metadata API allows the user to read Adobe Photoshop Metadata associated with a JPEG image. For more information on the Photoshop file format and Metadata blocks that can be attached to images of different formats please refer to the specification: https://www.adobe.com/devnet-apps/photoshop/fileformatashtml/.
The code sample below demonstrates how to extract image resource blocks (building blocks of the Photoshop file format) from a JPEG image....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...