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:...Viewer 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....Viewer Product Solution GroupDocs...Apps. You are welcome to eSign PDF, Word, Excel, PowerPoint documents...
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....Viewer 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....Viewer Product Solution GroupDocs...Apps. You are welcome to eSign PDF, Word, Excel, PowerPoint documents...
There might be cases when the document is presented only as a stream (without a copy on the local disk). To avoid the overhead of saving documents to the disk, GroupDocs.Parser enables to extract data from streams directly.
The following example shows how to load the document from the stream:
// Create the stream try (InputStream stream = new FileInputStream(Constants.SamplePdf)) { // Create an instance of Parser class with the stream try (Parser parser = new Parser(stream)) { // Extract a text into the reader try (TextReader reader = parser....Viewer Product Solution GroupDocs...welcome to extract data from PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX...
This section explains how to load document from stream with GroupDocs.Signature API....Viewer Product Solution GroupDocs...new FileInputStream ( "sample.pdf" ); Signature signature = new...
This article gives the knowledge about numeric range search which allows you to search in documents any integer numbers in the range from 0 to 9223372036854775807 (Int64.MaxValue) using Java search API....Viewer Product Solution GroupDocs...welcome to search over your PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX...
This article explains how to use exceptions handling when adding electronic signatures to document with GroupDocs.Signature API....Viewer Product Solution GroupDocs...powerful free online apps. To sign PDF, Word, Excel, PowerPoint, and...