Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a PNG viewer that can display text chunk metadata? Ideally, I'd like a way to view arbitrary chunks.

share|improve this question
Related: superuser.com/questions/219642/… – Denilson Sá Apr 22 '15 at 19:42

Found a partial solution, the pngcheck tool can print text chunks although it wont display the image.

pngcheck -c -v -t foobar.png

These are the relevant options for showing PNG chunks:

-7  print contents of tEXt chunks, escape chars >=128 (for 7-bit terminals)
-c  colorize output (for ANSI terminals)
-p  print contents of PLTE, tRNS, hIST, sPLT and PPLT (can be used with -q)
-t  print contents of tEXt chunks (can be used with -q)
-v  test verbosely (print most chunk data)
share|improve this answer

The ImageMagick "display" program will do it. Display the image with display filename.png, hold the right button to bring up the menu, select Image info, and scroll down.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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