[PYTHON IMAGE-SIG] PIL 0.2b2: problems with the sample scripts
Fredrik Lundh
fredrik_lundh@ivab.se
Mon, 9 Dec 1996 15:09:16 +0100
The sample scripts (provided in the Scripts subdirectory) make some
bold assumptions on what kind of images you'll run them with. The
following info might help you avoid incomprehensible error messages:
script comments
--------------------------------------------------------------------
viewer.py display an image; should work on any image mode.
note the improved Tkinter interface, and also the
special treatment of 1-bit images.
enhancer.py illustrates the ImageEnhance module; use on
a truecolour (RGB) image for best effect.
thresholder.py illustrates a dynamically updated 1-bit overlay; only
works properly on greyscale images.
painter.py illustrates selective update of a image canvas;
use on a truecolour (RGB) image for best effect;
may crash if you move the brush outside the image
(due to "undefined behaviour" in the "crop" method)
And yes, they all require that you have compiled Tk with the PIL
interface (tkImaging.c).
Cheers /F
=================
IMAGE-SIG - SIG on Image Processing with Python
send messages to: image-sig@python.org
administrivia to: image-sig-request@python.org
=================