summaryrefslogtreecommitdiff
blob: 2d5bb479da8db44e423ba9ddbfdd17641a833d1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
--- photofilmstrip-1.9.91-orig/photofilmstrip/core/__init__.py	2012-01-13 15:26:36.000000000 +0200
+++ photofilmstrip-1.9.91/photofilmstrip/core/__init__.py	2013-06-10 20:43:27.759638837 +0300
@@ -22,47 +22,47 @@
 # WA: py2exe and PIL
 import os
 if os.name == "nt":
-    import Image
+    import PIL.Image as Image
 
-    import ArgImagePlugin
-    import BmpImagePlugin
-    import BufrStubImagePlugin
-    import CurImagePlugin
-    import DcxImagePlugin
-    import EpsImagePlugin
-    import FitsStubImagePlugin
-    import FliImagePlugin
-    import FpxImagePlugin
-    import GbrImagePlugin
-    import GifImagePlugin
-    import GribStubImagePlugin
-    import Hdf5StubImagePlugin
-    import IcnsImagePlugin
-    import IcoImagePlugin
-    import ImImagePlugin
-    import ImtImagePlugin
-    import IptcImagePlugin
-    import JpegImagePlugin
-    import McIdasImagePlugin
-    import MicImagePlugin
-    import MpegImagePlugin
-    import MspImagePlugin
-    import PalmImagePlugin
-    import PcdImagePlugin
-    import PcxImagePlugin
-    import PdfImagePlugin
-    import PixarImagePlugin
-    import PngImagePlugin
-    import PpmImagePlugin
-    import PsdImagePlugin
-    import SgiImagePlugin
-    import SpiderImagePlugin
-    import SunImagePlugin
-    import TgaImagePlugin
-    import TiffImagePlugin
-    import WmfImagePlugin
-    import XbmImagePlugin
-    import XpmImagePlugin
-    import XVThumbImagePlugin
+    import PIL.ArgImagePlugin as ArgImagePlugin
+    import PIL.BmpImagePlugin as BmpImagePlugin
+    import PIL.BufrStubImagePlugin as BufrStubImagePlugin
+    import PIL.CurImagePlugin as CurImagePlugin
+    import PIL.DcxImagePlugin as DcxImagePlugin
+    import PIL.EpsImagePlugin as EpsImagePlugin
+    import PIL.FitsStubImagePlugin as FitsStubImagePlugin
+    import PIL.FliImagePlugin as FliImagePlugin
+    import PIL.FpxImagePlugin as FpxImagePlugin
+    import PIL.GbrImagePlugin as GbrImagePlugin
+    import PIL.GifImagePlugin as GifImagePlugin
+    import PIL.GribStubImagePlugin as GribStubImagePlugin
+    import PIL.Hdf5StubImagePlugin as Hdf5StubImagePlugin
+    import PIL.IcnsImagePlugin as IcnsImagePlugin
+    import PIL.IcoImagePlugin as IcoImagePlugin
+    import PIL.ImImagePlugin as ImImagePlugin
+    import PIL.ImtImagePlugin as ImtImagePlugin
+    import PIL.IptcImagePlugin as IptcImagePlugin
+    import PIL.JpegImagePlugin as JpegImagePlugin
+    import PIL.McIdasImagePlugin as McIdasImagePlugin
+    import PIL.MicImagePlugin as MicImagePlugin
+    import PIL.MpegImagePlugin as MpegImagePlugin
+    import PIL.MspImagePlugin as MspImagePlugin
+    import PIL.PalmImagePlugin as PalmImagePlugin
+    import PIL.PcdImagePlugin as PcdImagePlugin
+    import PIL.PcxImagePlugin as PcxImagePlugin
+    import PIL.PdfImagePlugin as PdfImagePlugin
+    import PIL.PixarImagePlugin as PixarImagePlugin
+    import PIL.PngImagePlugin as PngImagePlugin
+    import PIL.PpmImagePlugin as PpmImagePlugin
+    import PIL.PsdImagePlugin as PsdImagePlugin
+    import PIL.SgiImagePlugin as SgiImagePlugin
+    import PIL.SpiderImagePlugin as SpiderImagePlugin
+    import PIL.SunImagePlugin as SunImagePlugin
+    import PIL.TgaImagePlugin as TgaImagePlugin
+    import PIL.TiffImagePlugin as TiffImagePlugin
+    import PIL.WmfImagePlugin as WmfImagePlugin
+    import PIL.XbmImagePlugin as XbmImagePlugin
+    import PIL.XpmImagePlugin as XpmImagePlugin
+    import PIL.XVThumbImagePlugin as XVThumbImagePlugin
     Image._initialized=2
 # WA: end
--- photofilmstrip-1.9.91-orig/photofilmstrip/core/PILBackend.py	2012-01-13 15:26:36.000000000 +0200
+++ photofilmstrip-1.9.91/photofilmstrip/core/PILBackend.py	2013-06-10 20:36:00.427888547 +0300
@@ -22,7 +22,8 @@
 import logging
 import cStringIO
 
-import Image, ImageDraw
+import PIL.Image as Image
+import PIL.ImageDraw as ImageDraw
 
 from photofilmstrip.core.Picture import Picture