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....Metadata Product Solution GroupDocs...Product Solution GroupDocs.Watermark Product Solution GroupDocs...