From 3eda40cb4c3105c17ffab6fb5fcca6c5df145b7b Mon Sep 17 00:00:00 2001 From: tdesvenain Date: Sun, 29 Jul 2012 17:05:54 +0200 Subject: [PATCH] revert last commit, images rendered didn't match very well --- PIL/PsdImagePlugin.py | 3 +-- docs/HISTORY.txt | 11 +++-------- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/PIL/PsdImagePlugin.py b/PIL/PsdImagePlugin.py index 211393cdb..4390f5f9c 100644 --- a/PIL/PsdImagePlugin.py +++ b/PIL/PsdImagePlugin.py @@ -28,7 +28,6 @@ MODES = { (2, 8): ("P", 1), (3, 8): ("RGB", 3), (4, 8): ("CMYK", 4), - (4, 16): ("CMYK", 4), (7, 8): ("L", 1), # FIXME: multilayer (8, 8): ("L", 1), # duotone (9, 8): ("LAB", 3) @@ -58,7 +57,7 @@ class PsdImageFile(ImageFile.ImageFile): format_description = "Adobe Photoshop" def _open(self): - + read = self.fp.read # diff --git a/docs/HISTORY.txt b/docs/HISTORY.txt index cd5148d68..25d98f318 100644 --- a/docs/HISTORY.txt +++ b/docs/HISTORY.txt @@ -5,14 +5,9 @@ Changelog 1.7.8 (Unreleased) ------------------ -- Manage more psd files: - - - Added a psd mode (mode 4, 16 bits). - [thomasdesvenain] - - - Fix opening psd files with RGBA layers when A mode is not of type 65535 but 3. - Fixes issue https://github.com/python-imaging/Pillow/issues/3 - [thomasdesvenain] +- Fix opening psd files with RGBA layers when A mode is not of type 65535 but 3. + Fixes issue https://github.com/python-imaging/Pillow/issues/3 + [thomasdesvenain] 1.7.7 (2012-04-04)