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_...
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....
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)...
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...
The page describes how to detect document file type, size and calculate pages count when annotate documents or images with GroupDocs.Annotation....following properties (in pixels): * in pixels. This properties supports...
This article explains how to provide advanced options when updating QR-code electronic signatures with GroupDocs.Signature API....Instantiate object with desired properties; Call method to obtain list...table describes changeable properties for QR-code signatures dependent...
This article explains how to provide advanced options when updating Barcode electronic signatures with GroupDocs.Signature API....Instantiate object with desired properties; Call method to obtain list...table describes changeable properties for Barcode signatures dependent...
Retrieving information about a document with GroupDocs.Viewer for Node.js...loaded, you can retrieve its properties. For example, you can retrieve...to retrieve the document properties. Also, it shows how to get...
This page describes how to detect document file type, size and calculate pages count when annotate documents or images with GroupDocs.Annotation....following properties (in pixels): This properties supports all...
Convert CAD files (DWG, DGN, DXF) 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...