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 create encrypted Metadata electronic signature with embedded custom object.... Implement class with properties and specify if needed class...attribute), specify attributes for properties like to specify serialization...
This article explains how to implement custom encryption for QR-code electronic signatures.... Implement class with properties and specify if needed class...attribute), specify attributes for properties like attribute to specify...
This article explains how to provide advanced options when updating Image electronic signatures with GroupDocs.Signature API....Instantiate object with desired properties; Call method to obtain list...table describes changeable properties for Image signatures dependent...
This post covers basic document conversion and contains detailed instructions on how to convert Excel to CSV in Java along with Java code to convert Excel to CSV....class to set a variety of properties for the resulting CSV file...class to provide various properties for the converted file if...
Retrieving information about a document with GroupDocs.Viewer for Java...loaded, you can retrieve its properties. For example, you can retrieve...to retrieve the document properties. Also, it shows how to get...
The page describes how to add image annotation to a document using GroupDocs.Annotation for Java....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 button component 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)...