~ubuntu-branches/debian/squeeze/python-imaging/squeeze

« back to all changes in this revision

Viewing changes to Scripts/pildriver.py

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2009-11-20 19:22:59 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20091120192259-n3iy0f17n5akogom
Tags: 1.1.7-1
New upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
30 degrees, and saves the result as rotated.png (in PNG format).
41
41
"""
42
42
# by Eric S. Raymond <esr@thyrsus.com>
43
 
# $Id: pildriver.py 2813 2006-10-07 10:11:35Z fredrik $
 
43
# $Id$
44
44
 
45
45
# TO DO:
46
46
# 1. Add PILFont capabilities, once that's documented.
48
48
# 3. Add support for composing and decomposing multiple-image files.
49
49
#
50
50
 
51
 
import Image, string
 
51
from PIL import Image
 
52
import string
52
53
 
53
54
class PILDriver:
54
55