Re: PIL and ReportsLab error

From: Larry Bates (lbates_at_syscononline.com)
Date: 01/06/05


Date: Wed, 05 Jan 2005 18:18:00 -0600

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,
>