[Image-SIG] tif file save problem

Fredrik Lundh fredrik@pythonware.com
Fri, 1 Sep 2000 12:06:38 +0200


robert wrote:
> That indeed does the trick. Thanks much!  The funny thing about it was
that
> it didn't do it with any other image files except the ones that PIL saved.

that's entirely by accident...

PIL uses memory mapping on certain uncompressed formats
(where the layout on disk happens to match any image memory
layout supported by PIL).  Mapped formats include TIFF, BMP,
PPM, and IM.

> Another question for you. What are new features of PIL 1.1 compared to
1.0?
> Is there a ducument somewhere that lists this?

PIL 1.1 is basically a maintenance release.  Here's an excerpt
from the CHANGES file:

*** Changes from release 1.0 to 1.1 ***

+ Adapted to Python 1.6 ("append" and other method changes)

+ Fixed Image.paste when pasting with solid colour and matte
  layers ("L" or "RGBA" masks) (bug reported by Robert Kern)

+ To make it easier to distribute prebuilt versions of PIL,
  the tkinit binding stuff has been moved to a separate
  extension module, named "_imagingtk".

...

cheers /F