I know that I can create a simple little Qt based application that adds and read png metadata, using the QImage.setText(...) and QImage.text(...). That metadata can then be read with a linux command called pngmeta.

But what other image software can I use to read out the png metadata?

Please note that I'm seeking image programs for the common platforms, so please specify if your application is for Windows or Linux.

To make the question clearer I attached a img with some test metadata attached to it.

The img with meta data

Thanks Johan


Links:

link|improve this question

feedback

2 Answers

up vote 3 down vote accepted

Using ImageMagick:

identify -verbose image.png

ImageMagick should be cross-platform. I tried it on Linux with your attached image:

[...]
Properties:
  Author: Hans Müller
  Date: 2010-12-08 09:45
  date:create: 2010-12-08T13:15:43+01:00
  date:modify: 2010-12-08T13:15:43+01:00
  Desc: A long time ago in a galaxy far far away....
  signature: 3b4a54202316a7ae4b4fe0e431d47958181f4bb893493355820d4ba74f9f5ee3
[...]
link|improve this answer
Nice that ImageMagick works :) – Johan Dec 8 '10 at 13:28
1  
Glad to help. ImageMagick suite can do much more, it's worth to spend some time with it IMO. – cYrus Dec 8 '10 at 13:34
feedback

Another option is TweakPNG, on Windows.

I can see that is having problems displaying the Hans Müller name in your image, so maybe it does not work with Unicode metadata.

TweakPNG

link|improve this answer
I added a string with a ü since it felt like a good idea. – Johan Dec 8 '10 at 14:20
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.