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:...Markdown Product Solution GroupDocs.Comparison Product Solution GroupDocs...
Complete reference of every tool the GroupDocs.Conversion MCP server exposes to AI agents, with parameters, example prompts, and results....Markdown Product Solution GroupDocs.Comparison Product Solution GroupDocs...
The get_supported_formats MCP tool lists every target format a source document can be converted to, with primary/secondary indicators....Markdown Product Solution GroupDocs.Comparison Product Solution GroupDocs...
Let's learn how to render DOCX to PDF using Node.js with simple steps. There is no need to install any extra software to render DOCX to PDF in Node.js....Viewer Product Family GroupDocs.Comparison Product Family GroupDocs...
Discover how to effectively remove metadata from ODT using C#. This guide provides a code snippet showing the process of how to delete metadata from ODT in C#....Viewer Product Family GroupDocs.Comparison Product Family GroupDocs...
Easily search special characters in documents using C#. Enhance accuracy and relevance in text search with special characters in C# across multiple platforms....Viewer Product Family GroupDocs.Comparison Product Family GroupDocs...
This article will guide you on how to extract metadata from DOCX using C#. A DOCX metadata extraction C# code example is provided, demonstrating how to perform this process....Viewer Product Family GroupDocs.Comparison Product Family GroupDocs...
In this article, you will laern how to scan QR Code from DOCM using C#. A code example will be provided to extract QR Code from DOCM in C# without using extra tool....Viewer Product Family GroupDocs.Comparison Product Family GroupDocs...
Quickly learn how to convert XLSX to DOCX using Node.js without extra software installation. This topic contains steps and code to export XLSX to DOCX in Node.js....Viewer Product Family GroupDocs.Comparison Product Family GroupDocs...
Easily convert RTF to ODT using Node.js while preserving formatting. This guide walks you through the steps to efficiently export RTF to ODT in Node.js with minimal effort....Viewer Product Family GroupDocs.Comparison Product Family GroupDocs...