This example demonstrates how to load a file of some particular format.
advanced_usage.loading_files.LoadingFileOfSpecificFormat
JavaScript try { var loadOptions = new LoadOptions(FileFormat.Spreadsheet); const metadata = new groupdocs.metadata.Metadata("input.xls", loadOptions); var root = metadata.getRootPackageGeneric(); } More resources Advanced usage topics To learn more about library features and get familiar how to manage metadata and more, please refer to theadvanced usage section.
GitHub examples You may easily run the code above and see the feature in action in our GitHub examples:...Signature Product Solution GroupDocs...Us Contact Customers Legal Security Events Acquisition GroupDocs...
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:...Signature Product Solution GroupDocs...Us Contact Customers Legal Security Events Acquisition Ask AI...
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....Signature Product Solution GroupDocs...Us Contact Customers Legal Security Events Acquisition Ask AI...
This article gives the knowledge that how the document filters used during the search using Java search API....Signature Product Solution GroupDocs...Us Contact Customers Legal Security Events Acquisition GroupDocs...
This article explains how to get the format family and the additional information using Java with GroupDocs.Viewer for Java....Signature Product Solution GroupDocs...Us Contact Customers Legal Security Events Acquisition Ask AI...
GroupDocs.Parser provides the functionality to open the password-protected documents.
The following are the steps to work with password protected documents.
Instantiate the LoadOptions object; Set password in LoadOptions(String) constructor; Create Parser object and call any method. The following code sample shows how to process password protected documents.
try { String password = "123456"; // Create an instance of Parser class with the password: try (Parser parser = new Parser(Constants.SamplePassword, new LoadOptions(password))) { // Check if text extraction is supported if (!...Signature Product Solution GroupDocs...Us Contact Customers Legal Security Events Acquisition Ask AI...
This article explains that how to extract images to files....Signature Product Solution GroupDocs...Us Contact Customers Legal Security Events Acquisition Ask AI...
This article explains that how to use Aspose.OCR for Cloud SDK in Java....Signature Product Solution GroupDocs...Us Contact Customers Legal Security Events Acquisition Ask AI...
This article explains that how to extract text by table of contents item."...Signature Product Solution GroupDocs...Us Contact Customers Legal Security Events Acquisition Ask AI...