mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-28 06:24:40 +01:00
...
This commit is contained in:
parent
89278e3d08
commit
b689b6facd
1 changed files with 1 additions and 1 deletions
|
|
@ -649,7 +649,7 @@ def test_line(cls, img, y):
|
|||
def current_page_image(self, overlap=-1):
|
||||
if overlap < 0:
|
||||
overlap = self.height()
|
||||
img = QImage(self.width(), overlap, QImage.Format_ARGB32)
|
||||
img = QImage(self.width(), overlap, QImage.Format_ARGB32_Premultiplied)
|
||||
painter = QPainter(img)
|
||||
self.document.mainFrame().render(painter, QRegion(0, 0, self.width(), overlap))
|
||||
painter.end()
|
||||
|
|
|
|||
Loading…
Reference in a new issue