File: pygadgets-products/unzipped/Gui/gifs/_README.txt

--Update, Sep 2017, for standalone PyGadgets release--

This folder holds GIFs dating from early editions of the 
PP book.  Only one, pythonPowered.gif, is used in PyGadgets,
as a default PyClock image, per file PyGadgets_configs.py.
The rest were for book examples not present in PyGadgets.

Also, Python/tkinter GUIs today can use other types of
images, depending on the tools they have available:

1) All Python/tkinter GUIs can use GIFs (as here).

2) Pythons using Tk 8.6+ can also use PNGs (including
   all python.org Windows Python install packages).

3) Pythons that use a separately-installed Pillow 
   package can use nearly any image type in tkinter.

PyGadgets apps and executables automatically include
Pillow, and so support all image types.  Source-code
users must use a newer Tk, install Pillow, or stick 
with GIF images in tkinter.

SEE ALSO, _PyPhoto/PIL/images for other image files.


--Orginal PP4E notes follow--

This directory contains image files used by various
examples in the book (e.g., canvaspics, movingpics).
You can extend or replace this set of files without
breaking any examples.

As of 7/00 (Tk 8.0, Python 1.5.2), the standard Tk 
photo image supports GIF, PPM, and PGM files.  There
is a C patch which adds JPEG as well.  XBM bitmap 
files are supported by the bitmap image object.
Also see the PIL image processing library at 
www.python.org, and in chapters 6 and 7.

**PLEASE NOTE** 
This directory originally included lots of other images
(Monty Python, a certain Hormel product, and more), but
was trimmed at the last minute because we did not get 
permission to use these photos on CD (we also had to cut
screen shots in the book itself).  Alas, big companies 
apparently have no sense of humor :-).  To make image 
examples more interesting, drop some GIF files of your
own in this directory.



[Home page] Books Code Blog Python Author Train Find ©M.Lutz