I tested this with GIMP 2.8.10 in Ubuntu 14.04, where the libtiff5 package is version 4.0.3-7ubuntu0.3. Both LZW and Deflate worked fine, so it seems the bug has appeared between 4.0.3-7 and 4.0.3-12.3. However, the inner workings of libtiff5 are beyond my understanding.
-- jussi.hukka...@gmail.com What if this weren't a hypothetical question? 2015-09-07 13:36 GMT+03:00 Jussi Hukkanen <jussi.hukka...@gmail.com>: > I have also encountered this bug. > > Debian 8; Linux 3.16.0-4-amd64 > libtiff5 4.0.3-12.3 > gimp 2.8.14-1+b1 > > GIMP with libtiff5 exports uncompressed TIFF images correctly. > However, if LZW or Deflate compression is selected, the resulting > image gets corrupted. PackBits compression seems to work just fine. > > To reproduce, first open the file flower-uncompressed.tif in GIMP 2.8.14: > http://bit.ly/1O8bZFv > > Export the image as a new TIFF file, using either LZW or Deflate > compression method. Open the resulting image in GIMP. It will look > like flower-lzw.tif here, when obviously it is supposed to be a > pixel-perfect copy of the original, only a smaller file. > http://bit.ly/1ISUx0G > > In another system running Debian 7 with gimp 2.8.2-2+deb7u1 and > libtiff4 3.9.6-11, there was no problem with LZW export. I never tried > Deflate there. > > -- jussi.hukka...@gmail.com > What if this weren't a hypothetical question?