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....Editor Product Solution GroupDocs...
Learn how to merge BMP image files, combine BMP image files into one file programmatically in nodejs-java language using GroupDocs.Merger for Node.js via Java library....Editor Product Solution GroupDocs...
Using the GroupDocs.Metadata search engine you can extract desired metadata properties from files of different types. You don’t need to worry about the exact file format and metadata standards it can deal with. The same code will work for all supported formats in the same way. Most commonly used metadata properties are marked with tags that allow searching them across all supported files in various metadata packages. All tags defined in GroupDocs....Editor Product Solution GroupDocs...
Learn how to merge TIF image files, combine TIF image files into one file programmatically in java language using GroupDocs.Merger for Java library....Editor Product Solution GroupDocs...
This article demonstrates how to merge PowerPoint presentation files of PPT, PPTX, ODP and may other formats with couple java code lines and GroupDocs.Merger for Java....Editor Product Solution GroupDocs...
Follow this guide and learn how to split text file into several resultant files using GroupDocs.Merger for .NET API....Editor Product Solution GroupDocs...
This article explains how the The GroupDocs.Metadata API allows reading some common MPEG audio properties from MP3 files....Editor Product Solution GroupDocs...
Learn how to merge WAV audio files, combine WAV audio files into one file programmatically in C# language using GroupDocs.Merger for .NET library....Editor Product Solution GroupDocs...
Learn how to merge PNG image files, combine PNG image files into one file programmatically in C# language using GroupDocs.Merger for .NET library....Editor Product Solution GroupDocs...