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:...Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
This article explains how to add document to Spreadsheet via OLE with GroupDocs.Merger within your .Java applications....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
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....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
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....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
This article explains that how to extract Markdown formatted text from document page....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
Use GroupDocs.Editor libraries to programmatically edit Word documents, Excel spreadsheets and PowerPoint presentations...Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
API allows creating of full-text and / or metadata index on documents. To index only metadata without main content of documents, you only need to set IndexType.MetadataIndex when creating an index....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
Following this guide you will learn how to adjust JPG images quality when rendering documents with Image Viewer by GroupDocs....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
This article explains how to view specific pages when processing documents with GroupDocs.Viewer within your Java applications....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
Following this guide you will learn how to extract pages from PDF, Word, Excel, PowerPoint and many other file types using GroupDocs.Merger for Java....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...