Sign up ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

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:… –  Denilson Sá Apr 22 at 19:42

2 Answers 2

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.