~ubuntu-branches/ubuntu/trusty/python-imaging/trusty

« back to all changes in this revision

Viewing changes to PIL/GdImageFile.py

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

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#
2
2
# The Python Imaging Library.
3
 
# $Id: GdImageFile.py 2134 2004-10-06 08:55:20Z fredrik $
 
3
# $Id$
4
4
#
5
5
# GD file handling
6
6
#
25
25
 
26
26
__version__ = "0.1"
27
27
 
28
 
import string
29
 
import Image, ImageFile, ImagePalette
 
28
import ImageFile, ImagePalette
30
29
 
31
30
def i16(c):
32
31
    return ord(c[1]) + (ord(c[0])<<8)