mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
...
This commit is contained in:
parent
45e7e3f507
commit
a912cad57f
@ -250,6 +250,8 @@ class WMF(object):
|
||||
# ImageMagick does not convert some bmp files correctly, while Qt does,
|
||||
# so try Qt first. See for instance:
|
||||
# https://bugs.launchpad.net/calibre/+bug/934167
|
||||
# ImageMagick bug report:
|
||||
# http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=20350
|
||||
from PyQt4.Qt import QImage, QByteArray, QBuffer
|
||||
i = QImage()
|
||||
if i.loadFromData(bmp):
|
||||
|
Loading…
x
Reference in New Issue
Block a user