PIL and ReportsLab error

Larry Bates lbates at syscononline.com
Wed Jan 5 19:18:00 EST 2005


PIL doesn't support compressed TIF files.  You must
uncompress them prior to trying to place them.  I
use tiffcp utility via os.system call to uncompress
TIF files, then place them into my .PDF file.

Larry Bates
Syscon, Inc.


Jason Koch wrote:
> Hello,
> I am trying to produce pdf files from tiffs and I keep getting this 
> error.  Does anyone
> have any tips on this one.  I am using the ReportLab package with the PIL.
> 
>  File "C:\Python23\Lib\site-packages\PIL\Image.py", line 309, in 
> _getdecoder
>    raise IOError("decoder %s not available" % decoder_name)
> IOError: decoder group4 not available
> 
> Thanks,
> 



More information about the Python-list mailing list