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:...app conholdate.com conholdate.cloud conholdate.app containerize...
Sometimes you may need to just remove all or clean metadata properties without applying any filters. The best way to do this is to use the Sanitize method....app conholdate.com conholdate.cloud conholdate.app containerize...
Export metadata properties to an Excel workbook, CSV, JSON or XML using GroupDocs.Metadata for Python via .NET....app conholdate.com conholdate.cloud conholdate.app containerize...
GroupDocs.Merger for Java provides free technical support available to all users. Please report your question, issue, or feature request using GroupDocs Free Support Forum....app conholdate.com conholdate.cloud conholdate.app containerize...
This article explains how to add document to Diagram via OLE with GroupDocs.Merger within your .NET applications....app conholdate.com conholdate.cloud conholdate.app containerize...
Following this guide you will learn how to extract pages from PDF, Word, Excel, PowerPoint and many other file types using GroupDocs.Merger for Java....app conholdate.com conholdate.cloud conholdate.app containerize...
Articles listed in this page explain the common usage scenarios when documents are stored in a local drive and you want to manage them using GroupDocs.Markdown API...app conholdate.com conholdate.cloud conholdate.app containerize...
GroupDocs.Editor for Python via .NET ships as a self-contained wheel and runs on Windows, Linux, and macOS without MS Office, Open Office, or any other third-party software installed...app conholdate.com conholdate.cloud conholdate.app containerize...
Convert PDF, Word, Excel, and other documents to clean Markdown with full control over output flavor, image handling, and formatting....app conholdate.com conholdate.cloud conholdate.app containerize...
This article explains the method which can be used when for some reason files have non-standard extensions or if its format is supported, but not pre-configured....app conholdate.com conholdate.cloud conholdate.app containerize...