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:...the code above and see the feature in action in our GitHub examples:...management App Along with full featured .NET library we provide simple...
This article explains that how to extract Markdown formatted text from document page....the code above and see the feature in action in our GitHub examples:...parser App Along with full featured .NET library we provide simple...
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 the BmpRootPackage.getBmpHeader method Read the BMP header properties advanced_usage.managing_metadata_for_specific_formats.image.bmp.BmpReadHeaderProperties
try (Metadata metadata = new Metadata(Constants.InputBmp)) { BmpRootPackage root = metadata.getRootPackageGeneric(); System.out.println(root.getBmpHeader().getBitsPerPixel()); System.out.println(root.getBmpHeader().getColorsImportant()); System.out.println(root.getBmpHeader().getHeaderSize()); System.out.println(root.getBmpHeader().getImageSize()); System.out.println(root.getBmpHeader().getPlanes()); } More resources GitHub examples You may easily run the code above and see the Feature in action in our GitHub examples:...the code above and see the feature in action in our GitHub examples:...management App Along with full featured Java library we provide simple...
This article explains the method which can be used when for some reason files have non-standard extensions or if its format is supported, but not pre-configured....the code above and see the feature in action in our GitHub examples:...redaction App Along with full featured .NET library we provide simple...
This article demonstrates that how to save the redacted document, replacing an original file...the code above and see the feature in action in our GitHub examples:...redaction App Along with full featured .NET library we provide simple...
This article explains how to handle exceptions when verifying document electronic signatures with GroupDocs.Signature API....the code above and see the feature in action in our GitHub examples:...Online App Along with full-featured .NET library we provide simple...
Reading DICOM metadata properties The GroupDocs.Metadata API supports extracting format-specific information from DICOM images.
The following are the steps to read the native DICOM metadata.
Load a DICOM image Get the root metadata package Extract the native metadata package using the DicomRootPackage.getDicomPackage method Read the DICOM metadata properties examples.advanced_usage.managing_metadata_for_specific_formats.image.dicom.DicomReadNativeMetadataProperties
try (Metadata metadata = new Metadata(Constants.InputDicom)) { DicomRootPackage root = metadata.getRootPackageGeneric(); if (root.getDicomPackage() != null) { System.out.println(root.getDicomPackage().getBitsAllocated()); System.out.println(root.getDicomPackage().getReds()); System.out.println(root.getDicomPackage().getGreens()); System.out.println(root.getDicomPackage().getBlues()); System....the code above and see the feature in action in our GitHub examples:...management App Along with full featured Java library we provide simple...
This section explains how to load document from Amazon S3 Storage with GroupDocs.Signature API....the code above and see the feature in action in our GitHub examples:...Online App Along with full-featured .NET library we provide simple...
GroupDocs.Conversion for .NET is an advanced document conversion API developed to convert files of different formats from within C# applications.... This feature-rich API provides up to 10...OVERVIEW Product overview Main features Supported file formats GET...
Install GroupDocs.Watermark for Python via .NET, run your first watermark, and explore the runnable examples repository on Windows, Linux, or macOS....of every watermarking feature. Features Overview Installation...