[Image-SIG] Patch for SunImagePlugin
Charles G Waldman
cgw@pgt.com
Wed, 23 Sep 98 16:19 EDT
I could have sworn I've submitted this patch before, but
the bug is still present in PIL 0.3b2. SunImagePlugin
fails to load Sun image files with a palette, because
"ImagePalette" is undefined in the scope of SunImagePlugin.
As is so often the case, the description of the problem
is longer than the patch!
rcsdiff -u SunImagePlugin.py
===================================================================
RCS file: SunImagePlugin.py,v
retrieving revision 1.1
diff -u -r1.1 SunImagePlugin.py
--- SunImagePlugin.py 1998/09/23 20:15:32 1.1
+++ SunImagePlugin.py 1998/09/23 20:15:58
@@ -19,7 +19,7 @@
import regex, string
-import Image, ImageFile
+import Image, ImageFile, ImagePalette
def i16(c):