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:... DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images and more with...
GroupDocs.Metadata for Java provides functionality that allows working with different kinds of spreadsheet formats such as XLS, Xlsx, ODS, etc. For the full list of supported document formats please refer to Supported document formats.
Detecting the exact type of a document The following sample of code will help you to detect the exact type of a loaded spreadsheet and extract some additional file format information.
Load a Spreadsheet document Extract the root metadata package Use the getSpreadsheetType method to obtain file format information advanced_usage....spreadsheet formats such as XLS, XLSX, ODS, etc. For the full list... DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images and more with...
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.... DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images and more with...
GroupDocs.Merger Product Family on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers Recent content in GroupDocs.Merger Product Family on GroupDocs Blog | Document Automatio......remove it to unlock the XLS/XLSX files using Java API. Lock and...remove it to unlock the XLS/XLSX files using .NET API. Password...
Let's learn the process of how to extract images from PowerPoint in Java and how to use it for creating the application to get images from PowerPoint using Java....formats such as PDF, DOC, DOCX, XLSX, RTF, DOT, EPUB, and many more...
Do you want to transform a non-editable document to Word format? If so, then learn how to convert PDF to RTF in Java and review code for Java PDF to RTF application....formats including DOC, DOCX, XLSX, PPTX, TIFF, TXT, CSV, HTML...
Learn the process to convert documents with one of the top library and easily convert XML to PDF in C#. Explore sample code for C# convert XML to PDF capability....SVG, PPTX, DOCX, MHTML, POTX, XLSX, PNG, MD, and many more. We...
This article shows you how to view and edit metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, Xlsx, emails, images and more with our free online.... DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images and more with...
To extract a text from HTML documents GetText method is used. This method allows to extract a text from the entire document. Pagination and raw mode is not supported for emails.... DOC, DOCX, PPT, PPTX, XLS, XLSX, Emails and more with our free...