Index: imageConversion.py |
=================================================================== |
--- a/imageConversion.py |
+++ b/imageConversion.py |
@@ -133,3 +133,6 @@ |
f.name = filename |
image.save(f) |
files[filename] = f.getvalue() |
+ |
+def getImageSize(file): |
+ return Image.open(StringIO(file)).size |
Wladimir Palant
2014/03/19 12:11:48
I didn't mean to actually put this code into image
saroyanm
2014/03/19 14:54:18
Got it,
moved to packager.
|