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:...Editor Product Solution GroupDocs...
Complete reference of every tool the GroupDocs.Conversion MCP server exposes to AI agents, with parameters, example prompts, and results....Editor Product Solution GroupDocs...
The get_supported_formats MCP tool lists every target format a source document can be converted to, with primary/secondary indicators....Editor Product Solution GroupDocs...
This article explains how to load PDF, Word, Excel, PowerPoint documents from a stream when using GroupDocs.Comparison for Python via .NET....Editor Product Solution GroupDocs...
En este artículo, encontrará instrucciones completas sobre cómo convertir DOCX a SVG usando C# junto con una aplicación .NET de muestra para transformar DOCX a SVG en C#....documento en un navegador web o un editor de gráficos. Afortunadamente...
Dit artikel bevat instructies voor het converteren van DOCX naar SVG met behulp van Java, evenals voorbeeldcode die de procedure illustreert om DOCX naar SVG in Java te transformeren....een webbrowser of grafische editor moet bekijken, kan het nuttig...
Installing GroupDocs.Metadata for .NET through NuGet NuGet is the easiest way to download and install GroupDocs.Metadata for .NET. Following are the couple of ways to install GroupDocs.Metadata for .NET in your project using NuGet. To install, you can use any of the commands suitable for your environment NugetInstall. Below are examples of how to install when using Visual Studio.
Using Package Manager GUI Follow these steps to reference GroupDocs.Metadata using Package Manager GUI:...Editor Product Solution GroupDocs...
This article explains how to add text watermark when rendering documents with GroupDocs.Viewer within your .NET applications....Editor Product Solution GroupDocs...
In this article, you will learn how to get default load options for a source format with GroupDocs.Conversion for .NET API....Editor Product Solution GroupDocs...