commit 91c2ad4af769939ce5a68e357b84d3bda47d038d
Author: Felix Schwarz <felix.schwarz@oss.schwarz.eu>
Date:   Tue Nov 19 14:06:28 2013 +0100

    change imports of "Image" so ocrfeeder is compatible also with Pillow.

diff --git a/src/ocrfeeder/feeder/imageManipulation.py b/src/ocrfeeder/feeder/imageManipulation.py
index c7f01ec..ad94cf1 100644
--- a/src/ocrfeeder/feeder/imageManipulation.py
+++ b/src/ocrfeeder/feeder/imageManipulation.py
@@ -21,7 +21,7 @@
 from ocrfeeder.util.lib import debug
 
 import gettext
-import Image, ImageDraw
+from PIL import Image, ImageDraw
 import os.path
 from ocrfeeder.util import graphics
 import sys
diff --git a/src/ocrfeeder/feeder/layoutAnalysis.py b/src/ocrfeeder/feeder/layoutAnalysis.py
index edf69c7..80770e2 100644
--- a/src/ocrfeeder/feeder/layoutAnalysis.py
+++ b/src/ocrfeeder/feeder/layoutAnalysis.py
@@ -23,7 +23,7 @@ from ocrfeeder.util import graphics
 from ocrfeeder.util.constants import OCRFEEDER_DEBUG, DTP
 from ocrfeeder.studio.dataHolder import DataBox
 from imageManipulation import ImageProcessor
-import Image
+from PIL import Image
 import re
 import math
 
diff --git a/src/ocrfeeder/studio/dataHolder.py b/src/ocrfeeder/studio/dataHolder.py
index 084a345..df65f7a 100644
--- a/src/ocrfeeder/studio/dataHolder.py
+++ b/src/ocrfeeder/studio/dataHolder.py
@@ -20,7 +20,7 @@
 
 import os.path
 from ocrfeeder.util import graphics
-import Image
+from PIL import Image
 import gobject
 from ocrfeeder.util.graphics import getImagePrintSize, getImageResolution
 from ocrfeeder.util import TEXT_TYPE, IMAGE_TYPE, ALIGN_LEFT, lib
diff --git a/src/ocrfeeder/studio/widgetPresenter.py b/src/ocrfeeder/studio/widgetPresenter.py
index 0c447ab..a12c56a 100644
--- a/src/ocrfeeder/studio/widgetPresenter.py
+++ b/src/ocrfeeder/studio/widgetPresenter.py
@@ -26,7 +26,7 @@ from ocrfeeder.util.asyncworker import AsyncWorker
 from ocrfeeder.util.constants import *
 from ocrfeeder.util.graphics import convertPixbufToImage
 from enchant.checker import SpellChecker
-import Image
+from PIL import Image
 import gettext
 import gobject
 import goocanvas
diff --git a/src/ocrfeeder/util/graphics.py b/src/ocrfeeder/util/graphics.py
index fc2049a..b93fc5f 100644
--- a/src/ocrfeeder/util/graphics.py
+++ b/src/ocrfeeder/util/graphics.py
@@ -19,7 +19,7 @@
 ###########################################################################
 
 from lib import debug
-import Image
+from PIL import Image
 import gtk
 import math
 
diff --git a/src/ocrfeeder/util/lib.py b/src/ocrfeeder/util/lib.py
index c95318d..8fed1f2 100644
--- a/src/ocrfeeder/util/lib.py
+++ b/src/ocrfeeder/util/lib.py
@@ -20,7 +20,7 @@
 
 import os
 import mimetypes
-import Image
+from PIL import Image
 import tempfile
 import gtk
 import math
