mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
Added support for Pillow (fork of PIL)...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
2ed83bbb4c
commit
522c4fcec5
8
buildcache.py
Executable file → Normal file
8
buildcache.py
Executable file → Normal file
@ -2,14 +2,18 @@
|
||||
#=======================================================================
|
||||
|
||||
__version__ = '''0.0.01'''
|
||||
__sub_version__ = '''20140121064724'''
|
||||
__sub_version__ = '''20140814025456'''
|
||||
__copyright__ = '''(c) Alex A. Naanou 2011'''
|
||||
|
||||
|
||||
#-----------------------------------------------------------------------
|
||||
|
||||
import os
|
||||
import Image
|
||||
# support both pil and pillow...
|
||||
try:
|
||||
import Image
|
||||
except ImportError:
|
||||
from PIL import Image
|
||||
import json
|
||||
import sha
|
||||
import urllib2
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user