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:...Editor Product Solution GroupDocs...to view and edit metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX...
This article explains how to handle exceptions when verifying document electronic signatures with GroupDocs.Signature API....Editor Product Solution GroupDocs...Apps. You are welcome to eSign PDF, Word, Excel, PowerPoint documents...
This article demonstrates that how to save the redacted document, replacing an original file...Editor Product Solution GroupDocs...various document formats like PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX...
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....Editor Product Solution GroupDocs...various document formats like PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX...
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....Editor Product Solution GroupDocs...to view and edit metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX...
This section explains how to load document from Amazon S3 Storage with GroupDocs.Signature API....Editor Product Solution GroupDocs...Apps. You are welcome to eSign PDF, Word, Excel, PowerPoint documents...
Add text watermarks to rendered documents using GroupDocs.Viewer in your Python applications....Editor Product Solution GroupDocs...watermark to the HTML/JPG/PNG/PDF output, follow these steps: Create...
Supported file formats matrix for GroupDocs.Metadata for .NET....Editor Product Solution GroupDocs...Virtual Card Format ✅ ✅ ✅ ✅ Pdf Formats Format Description AutoDetection...