This code snippet demonstrates how to Extract information about known properties that can be encountered in a particular package....snippet demonstrates how to extract information about known properties...package Iterate through the extracted descriptors AdvancedUsage...
Reading FLV header properties The GroupDocs.Metadata API supports Extracting format-specific information from the FLV file header.
The following are the steps to read the header of an FLV file.
Load an FLV video Get the root metadata package Extract the native metadata package using FlvRootPackage.Header Read the FLV header properties AdvancedUsage.ManagingMetadataForSpecificFormats.Video.Flv.FlvReadHeaderProperties
using (Metadata metadata = new Metadata(Constants.InputFlv)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.Header.Version); Console.WriteLine(root.Header.HasAudioTags); Console.WriteLine(root.Header.HasVideoTags); Console.WriteLine(root.Header.TypeFlags); } Working with XMP metadata GroupDocs....Metadata API supports extracting format-specific information...the root metadata package Extract the native metadata package...
Download from GitHub The complete examples package of GroupDocs.Metadata is hosted on Github. You can either download the ZIP file from here or clone the repository of Github using your favourite Github client.
In case you download the ZIP file, Extract the folders on your local disk. The Extracted files and folders will look like the following image:
Open IntelliJ Idea and import the project to get started with it....file, extract the folders on your local disk. The extracted files...
Reading BMP header properties The GroupDocs.Metadata API supports Extracting format-specific information from BMP file headers.
The following are the steps to read the header of a BMP file.
Load a BMP image Get the root metadata package Extract the native metadata package using BmpRootPackage.BmpHeader Read the BMP header properties AdvancedUsage.ManagingMetadataForSpecificFormats.Image.Bmp.BmpReadHeaderProperties
using (Metadata metadata = new Metadata(Constants.InputBmp)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.BmpHeader.BitsPerPixel); Console.WriteLine(root.BmpHeader.ColorsImportant); Console.WriteLine(root.BmpHeader.HeaderSize); Console.WriteLine(root.BmpHeader.ImageSize); Console.WriteLine(root.BmpHeader.Planes); } More resources GitHub examples You may easily run the code above and see the feature in action in our GitHub examples:...Metadata API supports extracting format-specific information...the root metadata package Extract the native metadata package...
Reading BMP header properties The GroupDocs.Metadata API supports Extracting format-specific information from BMP file headers.
The following are the steps to read the header of a BMP file.
Load a BMP image Get the root metadata package Extract the native metadata package using the BmpRootPackage.getBmpHeader method Read the BMP header properties advanced_usage.managing_metadata_for_specific_formats.image.bmp.BmpReadHeaderProperties
try (Metadata metadata = new Metadata(Constants.InputBmp)) { BmpRootPackage root = metadata.getRootPackageGeneric(); System.out.println(root.getBmpHeader().getBitsPerPixel()); System.out.println(root.getBmpHeader().getColorsImportant()); System.out.println(root.getBmpHeader().getHeaderSize()); System.out.println(root.getBmpHeader().getImageSize()); System.out.println(root.getBmpHeader().getPlanes()); } More resources GitHub examples You may easily run the code above and see the feature in action in our GitHub examples:...Metadata API supports extracting format-specific information...the root metadata package Extract the native metadata package...
Reading DICOM metadata properties The GroupDocs.Metadata API supports Extracting format-specific information from DICOM images.
The following are the steps to read the native DICOM metadata.
Load a DICOM image Get the root metadata package Extract the native metadata package using the DicomRootPackage.getDicomPackage method Read the DICOM metadata properties examples.advanced_usage.managing_metadata_for_specific_formats.image.dicom.DicomReadNativeMetadataProperties
try (Metadata metadata = new Metadata(Constants.InputDicom)) { DicomRootPackage root = metadata.getRootPackageGeneric(); if (root.getDicomPackage() != null) { System.out.println(root.getDicomPackage().getBitsAllocated()); System.out.println(root.getDicomPackage().getReds()); System.out.println(root.getDicomPackage().getGreens()); System.out.println(root.getDicomPackage().getBlues()); System....Metadata API supports extracting format-specific information...the root metadata package Extract the native metadata package...
GroupDocs.Merger for Node.js via Java is a powerful API to merge several documents into one, split single document to multiple documents, reorder or replace document pages, change page orientation, manage document protection, render documents as images and more.... Extract specified page or page ranges...
GroupDocs.Watermark for .NET is a powerful API for managing watermarks in the various documents formats such as PDF, DOCX/DOC/RTF, PPTX/PPT, XLSX/XLS, JPG, PNG, TIFF, GIF and many others.... Extract information of watermark objects...