Bug#1132795: “Resolution: (not specified) ” is pointless
Emma Mueller
emma2 at ro.ru
Sun Apr 5 21:23:48 BST 2026
Package: pngtools
Version: 1.2-1
Severity: wishlist
Continuing bugs.debian.org/1123747, when the pHYs chunk is absent, pngtool reports “Resolution: (not specified)”. This is pointless. Except textual chunks, the tradition has been not to mention an ancillary chunk at all if it's absent. Indeed, there are many other chunk types, the absence of the instances of which is not reported. Example with pHYs and sBIT:
$ grep pHYs /usr/share/inkscape/screens/start-support-time.png /usr/share/inkscape/themes/Minwaita-Inkscape/gtk-3.0/assets/bullet-symbolic.symbolic.png
grep: /usr/share/inkscape/screens/start-support-time.png: binary file matches
$ grep sBIT /usr/share/inkscape/screens/start-support-time.png /usr/share/inkscape/themes/Minwaita-Inkscape/gtk-3.0/assets/bullet-symbolic.symbolic.png
grep: /usr/share/inkscape/themes/Minwaita-Inkscape/gtk-3.0/assets/bullet-symbolic.symbolic.png: binary file matches
$ pnginfo /usr/share/inkscape/screens/start-support-time.png /usr/share/inkscape/themes/Minwaita-Inkscape/gtk-3.0/assets/bullet-symbolic.symbolic.png | egrep -i "/usr|bit|resolution"
/usr/share/inkscape/screens/start-support-time.png...
Bitdepth (Bits/Sample): 8
Resolution: 3779, 3779 (pixels per meter)
/usr/share/inkscape/themes/Minwaita-Inkscape/gtk-3.0/assets/bullet-symbolic.symbolic.png...
Bitdepth (Bits/Sample): 8
Resolution: (not specified)
Here, the absence of sBIT was not reported, but the absence of resolution was.
Suggestion: if the pHYs chunk is absent, drop the line “Resolution: (not specified)”, as it is just additional clutter versus the plain absence of “Resolution: …”.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-phototools-devel/attachments/20260405/4d33027f/attachment.htm>
More information about the Pkg-phototools-devel
mailing list