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:...Conversion Product Solution GroupDocs...metadata for specific formats / Images / Working with BMP metadata...
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....Conversion Product Solution GroupDocs...metadata for specific formats / Images / Working with DICOM metadata...
This article explains how To modify found watermark properties while using GroupDocs. Watermarks API....Conversion Product Solution GroupDocs...allows you to replace text and image in the found possible watermarks...
This article explains how To detect document file type, size and calculate pages count with GroupDocs.Comparison....Conversion Product Solution GroupDocs...represents the document file type (PDF, Word document, Excel spreadsheet...
The OperationFinished event occurs when an index operation completes – indexing, updating, merging, or optimizing (segment merging)...Conversion Product Solution GroupDocs...occurs when an error happens in an index. Errors in an index can...
This article shows how To delete multiple electronic signatures different ways with GroupDocs.Signature API....Conversion Product Solution GroupDocs...was not found; there was an error occurred while deleting signature...
This article shows how To get information about electronic signatures in the document and its form fields with GroupDocs.Signature API....Conversion Product Solution GroupDocs...software. Please be aware only Pdf and Word processing documents...
This article shows the implementation of RedacTor class which supports the rendering of the document preview in JPEG, PNG and BMP....Conversion Product Solution GroupDocs...preview in on of these image formats: JPEG Image Portable Network Graphics...
This article explains how To fill signature background with linear gradient brush...Conversion Product Solution GroupDocs...SignatureImplementat = TextSignatureImpleme . Image }; // sign document to file...