4

I've installed PIL 1.1.7 with the windows installer for Python 2.7 and I'm trying to use it to open a TIFF file. However, I keep receiving IOError: decoder group4 not available.

What bit is missing? To my understanding, the necessary libs should be compiled in.

Spencer Rathbun
  • 14,510
  • 6
  • 54
  • 73
  • See also http://stackoverflow.com/questions/7034015/handling-group4-tiff-images-in-python and http://stackoverflow.com/questions/11868963/using-tiff-g4-image-in-pil – cgohlke Aug 13 '12 at 15:55

1 Answers1

5

PIL 1.1.7 can not read G4 TIFF files. There are unofficial patches and binaries that can.

Update: Pillow 2.x can read G4 TIFF files.

cgohlke
  • 9,142
  • 2
  • 33
  • 36
  • Hmm, the docs say it can open tiff files. What's the difference between that and G4 tiff? – Spencer Rathbun Aug 13 '12 at 17:10
  • G4 (CCITT T.6) is just one of many possible compression schemes found in TIFF. Not all compression schemes are supported by all TIFF readers. http://en.wikipedia.org/wiki/Tagged_Image_File_Format#TIFF_Compression_Tag. – cgohlke Aug 13 '12 at 17:34