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:...Watermark Product Solution GroupDocs...format-specific information from BMP file headers. The following are the...
Export metadata properties to an Excel workbook, CSV, JSON or XML using GroupDocs.Metadata for Python via .NET....Watermark Product Solution GroupDocs...pdf input.pdf is the sample file used in this example. Click...
GroupDocs Blog - GroupDocs Blog | Document Automation Solutions for .NET & Java Developers...11 introduces Photoshop file support, new PDF resize options...performance tweaks. GroupDocs.Watermark for .NET 25.11 is here. GroupDocs...
Follow this guide and learn how to edit text documents, spreadsheets and presentations using GroupDocs.Editor for Java API features....Watermark Product Solution GroupDocs...edit CSV file How to edit XML file How to edit e-Book file Edit PDF...
Follow this guide and learn how to edit text documents, spreadsheets and presentations using GroupDocs.Editor for .NET API features....Watermark Product Solution GroupDocs...edit CSV file How to edit XML file How to edit e-Book file Edit text...
Control column truncation, row limits, sheet separators, and hidden worksheets...Watermark Product Solution GroupDocs...cost-analysis.xlsx is a sample file used in this example. Click...
Load documents directly from a File-like object — open File handle, BytesIO, or any stream — with GroupDocs.Viewer for Python via .NET....Watermark Product Solution GroupDocs...stream without saving it as a file on a disk. You can use this...
Watermarking API for .NET on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers Recent content in Watermarking API for .NET on GroupDocs Blog | Document Automation Solutions ......Watermarking API for .NET on GroupDocs Blog | Document Automation...Developers Recent content in Watermarking API for .NET on GroupDocs...
Target GitHub Flavored Markdown or CommonMark output...Watermark Product Solution GroupDocs...business-plan.docx is a sample file used in this example. Click...
Target GitHub Flavored Markdown or CommonMark output...Watermark Product Solution GroupDocs...business-plan.docx is a sample file used in this example. Click...