找到了部分解决方案,pngcheck工具可以打印文本块,但它不会显示图像。
pngcheck -c -v -t foobar.png
Run Code Online (Sandbox Code Playgroud)
这些是显示 PNG 块的相关选项:
-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)
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
4505 次 |
| 最近记录: |