We're back after a server migration that caused effbot.org to fall over a bit harder than expected. Expect some glitches.

Changes in Python Imaging Library 1.1.2

Changes from 1.1.1 to 1.1.2

  • Adapted to Python 2.1. Among other things, all uses of the “regex” module has been replaced with “re”.
  • Fixed attribute error when reading large PNG files (this bug was introduced in maintenance code released after the 1.1.1 release)
  • Ignore non-string objects in sys.path
  • Fixed Image.transform(EXTENT) for negative xoffsets
  • Fixed loading of image plugins if PIL is installed as a package. (The plugin loader now always looks in the directory where the Image.py module itself is found, even if that directory isn’t on the standard search path)
  • The Png plugin has been added to the list of preloaded standard formats
  • Fixed bitmap/text drawing in fill mode.
  • Fixed “getextrema” to work also for multiband images.
  • Added transparency support for L and P images to the PNG codec.
  • Improved support for read-only images. The “load” method now sets the “readonly” attribute for memory-mapped images. Operations that modifies an image in place (such as “paste” and drawing operations) creates an in-memory copy of the image, if necessary. (before this change, any attempt to modify a memory-mapped image resulted in a core dump…)
  • Added special cases for lists everywhere PIL expects a sequence. This should speed up things like “putdata” and drawing operations.
  • The Image.offset method is deprecated. Use the ImageChops.offset function instead.
  • Changed ImageChops operators to copy palette and info dictionary from the first image argument.