Changeset 1397 for trunk/GSASII.py


Ignore:
Timestamp:
Jun 26, 2014 1:23:03 PM (11 years ago)
Author:
toby
Message:

Allow use of Image from pillow in place of PIL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/GSASII.py ΒΆ

    r1391 r1397  
    33893389        print "Image (PIL):",Image.VERSION
    33903390    except ImportError:
    3391         print "Image module not present; Note that PIL (Python Imaging Library) is needed for some image formats."
     3391        try:
     3392            from PIL import Image
     3393            print "pillow:     ",Image.VERSION
     3394        except ImportError:
     3395            print "Image module not present; Note that PIL (Python Imaging Library) or pillow is needed for some image operations"
    33923396    try:
    33933397        import mkl
Note: See TracChangeset for help on using the changeset viewer.