[Image-SIG] python2.1-imaging (fwd)

Simon Richter sjr@debian.org
Fri, 10 May 2002 16:09:27 +0200 (CEST)


  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

----Next_Part(Thu_Apr_25_19:10:45_2002_257)--
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-ID: <Pine.LNX.4.44.0205101550551.19399@phobos>

Hi,

I've received the bug report below. I can reproduce it here (with
Image.show() calling imagemagick's display), it seems to me that the PPM
file that is generated for the image viewer cannot be properly parsed by
various viewers.

   Simon

-- 
GPG public key available from http://phobos.fs.tum.de/pgp/Simon.Richter.asc
 Fingerprint: 040E B5F7 84F1 4FBC CEAD  ADC6 18A0 CC8D 5706 A4B4

---------- Forwarded message ----------
Date: Thu, 25 Apr 2002 19:10:45 +0200 (CEST)
From: Christophe TROESTLER <Christophe.Troestler@umh.ac.be>
To: Simon Richter <sjr@debian.org>
Subject: python2.1-imaging

Hi,

There seems to be a problem with the imaging python library : the
.show() method returns garbage on the screen and fails.  This is
demonstrated by the attached script.

Best regards,
ChriS

----Next_Part(Thu_Apr_25_19:10:45_2002_257)--
Content-Type: TEXT/PLAIN; CHARSET=us-ascii
Content-ID: <Pine.LNX.4.44.0205101550552.19399@phobos>
Content-Description: 
Content-Disposition: INLINE; FILENAME="img.py"

import Image

import ImageDraw



img = Image.new("RGB", [300,300])

t = ImageDraw.Draw(img)

t.line([ (10,10), (90,90) ])



img.save("line.jpg")

img.show()


----Next_Part(Thu_Apr_25_19:10:45_2002_257)----