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:... We value your opinion. Your feedback...
This article explains how to load PDF, Word, Excel, PowerPoint documents from URL when using GroupDocs.Conversion for Node.js via Java.... We value your opinion. Your feedback...
In this article, you will learn how to convert Publisher formats to other formats with GroupDocs.Conversion for Java.... We value your opinion. Your feedback...
Learn this article and check how to load and convert password-protected documents using GroupDocs.Conversion for .NET API.... We value your opinion. Your feedback...
Learn how to convert ODT to HTML using Node.js with a simple API. Follow this guide to export ODT to HTML in Node.js quickly and integrate it into your projects....usability but also adds significant value to your application’s document...
Export metadata properties to an Excel workbook, CSV, JSON or XML using GroupDocs.Metadata for Python via .NET.... We value your opinion. Your feedback...
Lassen Sie uns schnell verstehen, wie Sie CSV mit Java in PDF konvertieren. Wir stellen Ihnen wichtige Anweisungen und Codebeispiele zum Exportieren von CSV in PDF mit Java zur Verfügung....CSV -Dateien (Comma-Separated Values) zum Speichern und Austauschen...
Lassen Sie uns kurz den Prozess der Konvertierung von CSV in HTML mit Java verstehen. Wir stellen Ihnen wichtige Schritte und Codebeispiele zum Exportieren von CSV in HTML mit Java zur Verfügung....CSV -Dateien (Comma-Separated Values) ein gängiges Format zum Speichern...
Learn how to remove image watermark from PPTX using Python. This tutorial shows how to detect and delete image watermarks in PPTX presentations programmatically....maximum acceptable difference value to control how similar images...