289290291292293294295296297298299300
} final ImageMetadata result = new ImageMetadata(); for (PngChunk chunk : chunks) { final PngTextChunk textChunk = (PngTextChunk) chunk; result.add(textChunk.getKeyword(), textChunk.getText()); } return result; }