Reading Photoshop Metadata properties The GroupDocs Metadata API allows the user to read Adobe Photoshop Metadata associated with a PSD image. For more information on the Photoshop file format and Metadata blocks 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 PSD image.
Load a PSD file Get the root Metadata package Extract the ImageResourcePackage instance and obtain a list of ImageResourceBlock objects Iterate trough the collection of resource blocks advanced_usage....Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for Java...
Access, read, update, and remove IPTC IIM 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 MovRootPackage.MovPackage Read the QuickTime atoms AdvancedUsage....Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for .NET...
This article explains how to add Metadata signatures to Spreadsheet document with GroupDocs.Signature...Metadata Product Solution GroupDocs...Electronic Signature Types / Metadata signatures / eSign Spreadsheet...
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 how to add Metadata signatures to Presentation document with GroupDocs.Signature...Metadata Product Solution GroupDocs...Electronic signature types / Metadata signatures / eSign Presentation...
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...
GroupDocs.Metadata for .NET provides functionality that allows working with MPP files created by different versions of Microsoft Project. Please see the code samples below for more information.
Reading built-In Metadata properties To access built-in Metadata of a ProjectManagement document, please use the DocumentProperties property defined in the DocumentRootPackage class.
The following code snippet extracts built-in Metadata properties and displays them on the screen.
AdvancedUsage.ManagingMetadataForSpecificFormats.Document.ProjectManagement.ProjectManagementReadBuiltInProperties
using (MetadataMetadata = new Metadata(Constants.InputMpp)) { var root = Metadata....Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for .NET...
GroupDocs.Metadata for Java provides functionality that allows working with MPP files created by different versions of Microsoft Project. Please see the code samples below for more information.
Reading built-In Metadata properties To access built-in Metadata of a ProjectManagement document, please use the getDocumentProperties method defined in the DocumentRootPackage class.
The following code snippet extracts built-in Metadata properties and displays them on the screen.
advanced_usage.managing_Metadata_for_specific_formats.document.project_management.ProjectManagementReadBuiltInProperties
try (MetadataMetadata = new Metadata(Constants.InputMpp)) { ProjectManagementRootPackage root = Metadata....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...