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 (MetadataMetadata = 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 Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for Java...
GroupDocs.Metadata for .NET provides functionality that allows working with different kinds of diagrams such as VDX, VSDX, VSX, etc...Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for .NET...
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...
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...
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...
GroupDocs.Metadata for Java provides functionality that allows working with ONE files created by different versions of Microsoft OneNote. Please see the code samples below for more information.
Inspecting Note documents The inspection feature that is introduced in this section doesn’t work with Metadata directly but extracts some useful pieces of information that can be considered as Metadata under some circumstances. For example, you may want to obtain information about pages in a note document....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 topic explains how to search for Metadata signatures within the documents with GroupDocs.Signature API....Metadata Product Solution GroupDocs...in document / 🔍 Metadata Search for Metadata e-signatures Leave...
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 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...