Table of Contents

Module: chimage chimera/chimage.py

Imported modules   
from PIL import Image, ImageTk
import Tkinter
import chimera
Functions   
get
  get 
get ( image,  master )

Get image from standard locations.

get(image, master) => TkImage

image can be either a filename (or URL) or a Image.Image. Filenames are searched for by chimera.findfile(). Master is the widget the result TkImage will be created for. The master is needed for the Tk interpreter to place the image in and to find out the background color to blend the image with if it is semi-transparent.

Exceptions   
IOError, ( 2, 'No such file or directory: %s' % image )
TypeError, "image must be filename or Image"

Table of Contents

This document was automatically generated on Wed Mar 26 19:02:49 2003 by HappyDoc version 2.1