[Image-SIG] im.show() error

Fredrik Lundh fredrik@pythonware.com
Fri, 20 Aug 1999 15:28:56 +0200


bas pels <pels@bio.uva.nl> wrote:
> after upgrading PIL 1.0b to PIL 1.0, i cannot longer pass the first page of
> the tutorial... any idea what happened?

when fixing show for Windows platforms, we broke it
on Unix.  (I'm beginning to suspect that you shouldn't
include functions you never use yourself ;-)

Chad Netzer recently sent me the following patch,
which will go into the official 1.0.1 update (don't
ask 'when' just yet):

--- PIL/Image.py.orig   Mon Aug  2 15:39:56 1999
+++ PIL/Image.py        Sun Aug 15 14:30:28 1999
@@ -961,7 +961,7 @@
        if not command:
            command = "start"
     else:
-       format = None
+       format = "PPM"
        if not command:
            command = "xv"
            if title:

</F>