true);
if ((chunks == null) || (chunks.size() < 1))
return null;
ImageMetadata result = new ImageMetadata();
for (int i = 0; i < chunks.size(); i++)
{
PNGTextChunk chunk = (PNGTextChunk) chunks.get(i);
result.add(chunk.getKeyword(), chunk.getText());
}
return result;
}