about summary refs log tree commit diff
path: root/converter/other
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2019-01-23 02:54:50 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2019-01-23 02:54:50 +0000
commit337ee3888c80ae3623e24603a92b735a11e746a2 (patch)
tree70a2f66b36c92ba155241e5a291281d0e4865f01 /converter/other
parent6018731c1867c52a01e291613e95f6a3835a3f79 (diff)
downloadnetpbm-mirror-337ee3888c80ae3623e24603a92b735a11e746a2.tar.gz
netpbm-mirror-337ee3888c80ae3623e24603a92b735a11e746a2.tar.xz
netpbm-mirror-337ee3888c80ae3623e24603a92b735a11e746a2.zip
add comments
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3518 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other')
-rw-r--r--converter/other/pngx.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/converter/other/pngx.c b/converter/other/pngx.c
index b96857e9..d900342f 100644
--- a/converter/other/pngx.c
+++ b/converter/other/pngx.c
@@ -475,6 +475,11 @@ pngx_setInterlaceHandling(struct pngx * const pngxP) {
 
        Also, documentation says this returns 7 if the compressor is
        interlacing, but it always returns 1 in practice.
+
+       If the program does 1 pass as directed by libpng, the image won't
+       decompress - libpng says "Not enough image data".  If the program does
+       7 passes as makes sense, the image won't decompress because "too many
+       IDAT's found."
     */
     pngxP->numPassesRequired = png_set_interlace_handling(pngxP->png_ptr);
 }