1
0
mirror of https://github.com/ciromattia/kcc synced 2025-12-13 01:36:27 +00:00

Reimplemented HQ Panel View (close #223)

This commit is contained in:
Paweł Jastrzębski
2017-03-22 10:46:58 +01:00
parent 02dab3c6ee
commit 283d6101cd
5 changed files with 97 additions and 16 deletions

View File

@@ -209,6 +209,8 @@ class ComicPage:
def __init__(self, options, mode, path, image, color, fill):
self.opt = options
_, self.size, self.palette, self.gamma = self.opt.profileData
if self.opt.hq:
self.size = (int(self.size[0] * 1.5), int(self.size[1] * 1.5))
self.image = image
self.color = color
self.fill = fill