Reading PNG metadata properties The GroupDocs.Metadata API supports extracting format-specific information from PNG images.
The following are the steps to read the native PNG metadata.
Load a PNG image Get the root metadata package Extract the native metadata package using PngRootPackage.getPngPackage Read the PNG metadata properties advanced_usage.managing_metadata_for_specific_formats.image.png.PngReadTextChunks
try (Metadata metadata = new Metadata(Constants.InputPng)) { PngRootPackage root = metadata.getRootPackageGeneric(); for (PngTextChunk chunk : root.getPngPackage().getTextChunks()) { System.out.println(chunk.getKeyword()); System.out.println(chunk.getText()); if (chunk instanceof PngCompressedTextChunk) { PngCompressedTextChunk compressedChunk = (PngCompressedTextChunk) chunk; System....Signature Product Solution GroupDocs...Us Contact Customers Legal Security Events Acquisition Ask AI...
This page describes how the search api is used to obtain a list of supported file types....Signature Product Solution GroupDocs...Us Contact Customers Legal Security Events Acquisition GroupDocs...
This article explains how to check if a file is encrypted using Java with GroupDocs.Viewer for Java....Signature Product Solution GroupDocs...Us Contact Customers Legal Security Events Acquisition Ask AI...
Follow this guide and learn how to convert MS Excel workbooks - XLSX, XLS, XLSB using Java language and GroupDocs.Conversion for Java....Signature Product Solution GroupDocs...Us Contact Customers Legal Security Events Acquisition Ask AI...
This article demonstrates how to convert PowerPoint presentations of PPT, PPTX, ODP to other formats with couple lines of Java code....Signature Product Solution GroupDocs...Us Contact Customers Legal Security Events Acquisition Ask AI...
This article demonstrates how to convert specific document pages by page number using GroupDocs.Conversion for Java API....Signature Product Solution GroupDocs...Us Contact Customers Legal Security Events Acquisition Ask AI...
GroupDocs.Search for Node.js has the ability to remove individual documents from the index that are indexed from a stream or structure....Signature Product Solution GroupDocs...Us Contact Customers Legal Security Events Acquisition GroupDocs...
Detecting the GIF version The following sample of code will help you to detect the version of a loaded GIF image and extract some additional file format information.
Load a GIF image Extract the root metadata package Use the getGifImageType method to obtain file format information advanced_usage.managing_metadata_for_specific_formats.image.gif.GifReadFileFormatProperties
try (Metadata metadata = new Metadata(Constants.InputGif)) { GifRootPackage root = metadata.getRootPackageGeneric(); System.out.println(root.getGifImageType().getFileFormat()); System.out.println(root.getGifImageType().getVersion()); System.out.println(root.getGifImageType().getByteOrder()); System.out.println(root.getGifImageType().getMimeType()); System.out.println(root.getGifImageType().getExtension()); System.out.println(root.getGifImageType().getWidth()); System.out.println(root.getGifImageType().getHeight()); } Working with XMP Metadata GroupDocs....Signature Product Solution GroupDocs...Us Contact Customers Legal Security Events Acquisition Ask AI...
OCR support means the ability to connect an external module (library) for the recognition of printed text (optical character recognition, OCR) on images, either separate or embedded in documents.
To connect OCR, you need to implement the IOcrConnector interface in the client code.
The following example demonstrates how to implement the OCR connector using com.aspose.ocr library for text recognition in images.
const indexFolder = 'c:/MyIndex/'; const documentsFolder = 'c:/MyDocuments/'; const query = 'Einstein'; // Creating an index const index = new groupdocs....Signature Product Solution GroupDocs...Us Contact Customers Legal Security Events Acquisition GroupDocs...