Even, I comment the DEBUG line on my nmake.local and I recompiled GDAL and the messages are gone.
Thanks. > -------Original Message------- > From: Even Rouault <even.roua...@mines-paris.org> > To: gdal-dev@lists.osgeo.org, Ivan Lucena <ivan.luc...@pmldnet.com> > Subject: Re: [gdal-dev] bit length overflow in deflate compress > Sent: Dec 29 '11 14:28 > > Le jeudi 29 décembre 2011 20:15:32, Ivan Lucena a écrit : > > Hi there, > > > > I am getting a lot of messages like that when using deflate compression > > (zlib): > > > > $ gdal_translate input.tif output.tif -co compress=deflate > > Input file size is 800, 600 > > 0...10...20...30...40...50...60...70...80...90...100 - done. > > > > bit length overflow > > code 4 bits 5->6 > > > > bit length overflow > > code 16 bits 6->7 > > > > bit length overflow > > code 11 bits 6->7 > > > > bit length overflow > > code 5 bits 6->7 > > code 11 bits 6->7 > > > > bit length overflow > > code 3 bits 6->7 > > > > bit length overflow > > code 5 bits 5->6 > > > > bit length overflow > > code 5 bits 6->7 > > code 12 bits 6->7 > > > > bit length overflow > > code 11 bits 6->7 > > > > bit length overflow > > code 12 bits 6->7 > > > > bit length overflow > > code 16 bits 6->7 > > > > The input and output image has the same checksum at the end, so what is > > going on? > > Ivan, I suppose you are using GDAL internal zlib. This error message comes > from frmts/zlib/trees.c, and it appears it is only a debug message that is > output if DEBUG is #define 'd (see zutil.h). On a non-debug build, the > message > shouldn't appear. > > > > > The image is RGB, GDAL is compiled for 32bits running in a win64 machine. > > > > Regards, > > > > Ivan > > > > > > _______________________________________________ > > gdal-dev mailing list > > gdal-dev@lists.osgeo.org > > http://lists.osgeo.org/mailman/listinfo/gdal-dev > _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev