mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
f4f58175f8
commit
2238adce24
@ -365,7 +365,7 @@ Install as normal using installer at http://www.lfd.uci.edu/~gohlke/pythonlibs/
|
|||||||
|
|
||||||
Test it on the target system with
|
Test it on the target system with
|
||||||
|
|
||||||
calibre-debug -c "import _imaging, _imagingmath, _imagingft, _imagingcms"
|
calibre-debug -c "from PIL import _imaging, _imagingmath, _imagingft, _imagingcms"
|
||||||
|
|
||||||
|
|
||||||
kdewin32-msvc
|
kdewin32-msvc
|
||||||
|
@ -74,7 +74,8 @@ def test_imaging():
|
|||||||
print ('ImageMagick OK!')
|
print ('ImageMagick OK!')
|
||||||
else:
|
else:
|
||||||
raise RuntimeError('ImageMagick choked!')
|
raise RuntimeError('ImageMagick choked!')
|
||||||
from PIL import Image
|
from PIL import Image, _imaging, _imagingmath, _imagingft, _imagingcms
|
||||||
|
_imaging, _imagingmath, _imagingft, _imagingcms
|
||||||
i = Image.open(cStringIO.StringIO(data))
|
i = Image.open(cStringIO.StringIO(data))
|
||||||
if i.size < (20, 20):
|
if i.size < (20, 20):
|
||||||
raise RuntimeError('PIL choked!')
|
raise RuntimeError('PIL choked!')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user