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

« back to all changes in this revision

Viewing changes to Scripts/pilconvert.py

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2006-08-28 23:14:10 UTC
  • mfrom: (2.1.5 edgy)
  • Revision ID: james.westby@ubuntu.com-20060828231410-lca9enmne3ecmkup
Tags: 1.1.5-11
* python-imaging-sane: Depend on python-numarray. Closes: #382190.
* Add dependencies on ${shlibs:Depends}, lost in -6. Closes: #378596.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /usr/local/bin/python
2
2
#
3
3
# The Python Imaging Library.
4
 
# $Id: //modules/pil/Scripts/pilconvert.py#2 $
 
4
# $Id: pilconvert.py 2134 2004-10-06 08:55:20Z fredrik $
5
5
#
6
6
# convert image files
7
7
#
13
13
# 0.5   98-12-30 fl     Fixed -f option (from Anthony Baxter)
14
14
#
15
15
 
16
 
import Image
17
 
 
 
16
import site
18
17
import getopt, string, sys
19
18
 
 
19
from PIL import Image
 
20
 
20
21
def usage():
21
 
    print "PIL Convert 0.5/98-12-30 -- convert image files"
 
22
    print "PIL Convert 0.5/1998-12-30 -- convert image files"
22
23
    print "Usage: pilconvert [option] infile outfile"
23
24
    print
24
25
    print "Options:"