Reputation: 32345
According to this Wikipedia entry on the PNG format, a PNG image file can have embedded text stored in its tEXt
chunks. This allows storing some text along with the image, which isn't visible in the image itself, but is hidden within the file.
Question is: how can I read these name=value
pairs from a PNG file using the Java2D api? Does the ImageReader
class help me here? Can anyone produce a short snippet?
Thank you!
Upvotes: 2
Views: 1242