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:...You are welcome to view and edit metadata of PDF, DOC, DOCX,...
This artcle explains how to remove all or clean metadata properties without applying any filters. The best way to do this is to use the Sanitize method....You are welcome to view and edit metadata of PDF, DOC, DOCX,...
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....You are welcome to view and edit metadata of PDF, DOC, DOCX,...
Great news for all ExpressionEngine CMS users! We’ve released an efficient GroupDocs Viewer module for ExpressionEngine CMS. This plugin allows you to embed GroupDocs’ high-fidelity online document viewer together with selected documents to ExpressionEngine pages. As GroupDocs’ online document viewer supports many different formats, visitors to ExpressionEngine websites can now effortlessly view documents of multiple formats online. [caption id=“attachment_1047” align=“alignnone” width=“600” caption=“Announcing GroupDocs’ online document viewer module for ExpressionEngine”]
[/caption] GroupDocs Viewer is an efficient and flexible online document viewer....add a custom channel field, edit your template to include the...
Learn how to convert XLSX to PNG using Python with minimal setup. Discover how to export XLSX to PNG in Python accurately and efficiently without using extra tool....method is ideal for cases where editable Excel files are not needed...
Learn how to convert PDF to PPTX using Node.js with an efficient document conversion process. Follow our guide to easily export PDF to PPTX in Node.js for presentations....converting PDF files into editable presentation format is often...
Remove text watermark from ODT using Python to process OpenDocument files automatically. This guide explains removing embedded watermark text with Python code....eliminates the need for manual edits and ensures accuracy. The guide...
Let's learn how to add text watermark to DOC using Java. We will also provide you code to insert text watermark to DOC using Java without requiring extra software....save method to save the edited DOC document to your disk Text...
API to annotate text or images in your documents using Java. It supports PDF, Microsoft Word DOCX, Excel XLSX and PowerPoint. PPTX...Annotation allows you to add, edit, and delete comments, explanations...
Learn how to run C# examples which contain removing metadata from photos, adding metadata to photos, removing metadata from pdf, adding metadata to various formats and many more examples....you can fork the repository, edit the code and create a pull request...