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:...feedback Reading BMP header properties The GroupDocs.Metadata API...using Read the BMP header properties AdvancedUsage.ManagingMetadataForS...
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:...feedback Reading BMP header properties The GroupDocs.Metadata API...method Read the BMP header properties advanced_usage.managing_...
The page describes how to add link annotation to a document using GroupDocs.Annotation for .NET....You can set the following properties of the class: defines link... Specify the appropriate properties (position, page number, etc)...
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....feedback Reading DICOM metadata properties The GroupDocs.Metadata API...method Read the DICOM metadata properties examples.advanced_usage....
This article explains how to provide advanced options when updating Text electronic signatures with GroupDocs.Signature API....Instantiate object with desired properties; Call method to obtain list...table describes changeable properties for Text signatures dependent...
Convert email messages to HTML, PDF, PNG, or JPEG using the GroupDocs.Viewer Python API....The HtmlViewOptions class properties allow you to control the...The PdfViewOptions class properties allow you to control the...
The page describes how to add point annotation to a document using GroupDocs.Annotation for .NET....can specify the following properties of the class: defines the... Specify the appropriate properties (position, page number, etc)...
The page describes how to add image annotation to a document using GroupDocs.Annotation for .NET....You can set the following properties of the class: defines the... Specify the appropriate properties (position, page number, etc)...
The page describes how to add resource redaction annotation to a document using GroupDocs.Annotation for .NET....can specify the following properties of the class: defines the... Specify the appropriate properties (position, page number, etc)...
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 DicomRootPackage.DicomPackage Read the DICOM metadata Properties AdvancedUsage.ManagingMetadataForSpecificFormats.Image.Dicom.DicomReadNativeMetadataProperties
using (Metadata metadata = new Metadata(Constants.InputDicom)) { var root = metadata.GetRootPackage(); if (root.DicomPackage != null) { Console.WriteLine(root.DicomPackage.BitsAllocated); Console.WriteLine(root.DicomPackage.LengthValue); Console.WriteLine(root.DicomPackage.DicomFound); Console.WriteLine(root.DicomPackage.HeaderOffset); Console.WriteLine(root.DicomPackage.NumberOfFrames); // ....feedback Reading DICOM metadata properties The GroupDocs.Metadata API...using Read the DICOM metadata properties AdvancedUsage.ManagingMetadataForS...