GroupDocs.Markdown for .NET provides free technical support available to all users. Please report your question, issue, or feature request using GroupDocs Free Support Forum....Editor Product Solution GroupDocs...
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...
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....Editor Product Solution GroupDocs...
This example demonstrates how to load a file of some particular format.
advanced_usage.loading_files.LoadingFileOfSpecificFormat
// Explicitly specifying the format of a file to load you can spare some time on detecting the format LoadOptions loadOptions = new LoadOptions(FileFormat.Spreadsheet); // Constants.InputXls is an absolute or relative path to your document. Ex: @"C:\Docs\source.xls" try (Metadata metadata = new Metadata(Constants.InputXls, loadOptions)) { SpreadsheetRootPackage root = metadata.getRootPackageGeneric(); // Use format-specific properties to extract or edit metadata System....Editor 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....Editor Product Solution GroupDocs...
Follow this guide and learn how to convert contents of PST/OST documents to different format based on content type using GroupDocs.Conversion for .NET....Editor Product Solution GroupDocs...
GroupDocs.Conversion for Python via .NET provides free technical support available to all users. Please report your question, issue, or feature request using GroupDocs Free Support Forum....Editor Product Solution GroupDocs...
Learn this article and check how to load and convert password-protected documents using GroupDocs.Conversion for .NET API....Editor Product Solution GroupDocs...