[Image-SIG] Bug in TiffImagePlugin?

Fredrik Lundh fredrik@pythonware.com
Sat, 24 Mar 2001 12:21:51 +0100


Aureli Soria Frisch wrote:
> When trying to save an image in tif format under Python2.0 an error is
> prompted:
> 
> File "macintosh hd:compiler:python
> 2.0:extensions:imaging:pil:TiffImagePlugin.py", line 329, in save
>     append(tag, typ, len(value), data + (4-len(data))*"\0", "")
> TypeError: append requires exactly 1 argument; 5 given

this is fixed in the latest PIL version (1.1.1).  if you're using
1.1.0, you can upgrade by simply copying all PY-files from
the PIL directory to the imaging:pil directory in your Python
installation.

the current sources are available from:

    http://www.pythonware.com/products/pil/index.htm

Cheers /F