<div><div><div><div><div><div><div><div>More accurately:</div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>$ pnginfo</div><div><br data-mce-bogus="1"></div><div>Usage: pnginfo [-d] [-D] <filenames></div><div><br data-mce-bogus="1"></div><div>$ man pnginfo | grep -A1 SYNOPSIS</div><div><br data-mce-bogus="1"></div><div>SYNOPSIS</div><div><br data-mce-bogus="1"></div><div>        pnginfo [-t] [-d] [-D] <filenames></div><div><br data-mce-bogus="1"></div><div>$ wget -q <a rel="noopener" href="https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png" target="_blank" data-mce-href="https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png">https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png</a><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>$ grep -ai pHYs Example.png</div><div><br data-mce-bogus="1"></div><div>$ diff <(pnginfo Example.png) <(pnginfo -t Example.png) | grep -i Resolution</div><div><br data-mce-bogus="1"></div><div>< Resolution: 32720, 2 (unit unknown)</div><div><br data-mce-bogus="1"></div><div>> Resolution: 32612, 3 (unit unknown)</div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>As you see, the built-in help of pnginfo doesn't mention the switch `-t`, though it is implemented. Please mention this switch (or drop the support for `-t` altogether if there are too many irreparable bugs associated with it).</div><div><br data-mce-bogus="1"></div><div>Further, if there is no resolution information (the pHYs chunk) in the PNG file, the resolution values output with `-t` differ from those output without `-t`. This difference is meaningless; it'd be way more consequential not to print those out-of-thin-air values at all if the resolution information is not supplied in the input PNG file.</div><div><br data-mce-bogus="1"></div><div>Gratefully!</div></div></div></div></div></div></div></div>