Reverting most PIL cleanup.

This commit is contained in:
Samuel Clay 2013-06-21 13:15:04 -07:00
parent bb95ea8984
commit 2408156024
4 changed files with 5 additions and 8 deletions

View file

@ -9,7 +9,7 @@ import struct
import operator
import gzip
import datetime
import BmpImagePlugin, PngImagePlugin, Image
from PIL import BmpImagePlugin, PngImagePlugin, Image
from boto.s3.key import Key
from StringIO import StringIO
from django.conf import settings

View file

@ -36,9 +36,6 @@ from mongoengine import connect
from boto.s3.connection import S3Connection
from utils import jammit
import PIL.Image
sys.modules['Image'] = PIL.Image
# ===================
# = Server Settings =
# ===================

View file

@ -1,4 +1,4 @@
import Image
from PIL import Image
import scipy
import scipy.cluster
from pprint import pprint

View file

@ -1,8 +1,8 @@
"""Operations for images through the PIL."""
import Image
import ImageOps as PILOps
from ExifTags import TAGS
from PIL import Image
from PIL import ImageOps as PILOps
from PIL.ExifTags import TAGS
from StringIO import StringIO
PROFILE_PICTURE_SIZES = {