Options:
-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)
-q test quietly (output only errors)
-s search for PNGs within another file
-t print contents of tEXt chunks (can be used with -q)
-v test verbosely (print most chunk data)
-vv test very verbosely (decode & print line filters)
-w suppress windowBits test (a more-stringent compression check)
-x search for PNGs within another file and extract them when found
pngcheck
在 Windows 中不支持通配符。您将需要循环它以在每个文件上运行。CD 到您的图像目录,您可以运行它。替换您所在位置的路径pngcheck.win64.exe
。*.png
如果您不想 CD 到映像目录,也可以将 替换为完整目录。IE(c:\images\*.png)
如果你只运行
"c:\pngcheck-3.0.3-win32\pngcheck.win64.exe"
,你可以看到所有的标志。要解决以下关于运行命令并将错误仅写入文件的评论,您可以使用
-q
标志并将数据附加到文件中>> errors.txt