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....of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images and more...
This article explains how the The GroupDocs.Metadata API allows reading some common MPEG audio properties from MP3 files....of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images and more...
This page contains information about getting indexed documents in the search network....your PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX and more with our free...
This article gives the knowledge of the API methods which can be used to perform operations about spelling corrector using Java....your PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX and more with our free...
Not all metadata properties extracted from a file are marked with tags. Some file formats and metadata standards allow adding fully custom properties that can’t be properly tagged by the library since their purpose is not clearly defined in the appropriate format/standard specification. In such cases, you can use the name of the property to locate and remove it. The following example demonstrates some advanced usage scenarios of the GroupDocs.Metadata search engine allowing to remove metadata properties....of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images and more...
Get the file type, page count and size of a document in Node.js with GroupDocs.Parser for Node.js via Java....from PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, Emails and more with our...
GroupDocs.Metadata for Python via .NET lets you read basic file information — format, extension, MIME type, page count, size, and encryption state....of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images and more...
Learn common ways to read metadata property values and handle their types in GroupDocs.Metadata for Python via .NET....of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images and more...
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....your PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX and more with our free...