[GRASS-SVN] r57932 - grass/trunk/gui/wxpython/core
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Oct 4 02:03:21 PDT 2013
Author: neteler
Date: 2013-10-04 02:03:21 -0700 (Fri, 04 Oct 2013)
New Revision: 57932
Modified:
grass/trunk/gui/wxpython/core/utils.py
Log:
wxGUI core/utils.py: fix PIL call
Modified: grass/trunk/gui/wxpython/core/utils.py
===================================================================
--- grass/trunk/gui/wxpython/core/utils.py 2013-10-04 01:50:06 UTC (rev 57931)
+++ grass/trunk/gui/wxpython/core/utils.py 2013-10-04 09:03:21 UTC (rev 57932)
@@ -1100,7 +1100,7 @@
@param filename path to file
@return wx.Image instance
"""
- import Image
+ from PIL import Image
pilImage = Image.open(filename)
imageBox = pilImage.getbbox()
cropped = pilImage.crop(imageBox)
More information about the grass-commit
mailing list