diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2019-01-23 02:54:50 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2019-01-23 02:54:50 +0000 |
commit | 337ee3888c80ae3623e24603a92b735a11e746a2 (patch) | |
tree | 70a2f66b36c92ba155241e5a291281d0e4865f01 /converter/other | |
parent | 6018731c1867c52a01e291613e95f6a3835a3f79 (diff) | |
download | netpbm-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.c | 5 |
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); } |