1
0
mirror of https://github.com/ciromattia/kcc synced 2026-07-04 20:15:39 +00:00

Small tweaks

This commit is contained in:
Paweł Jastrzębski
2013-06-23 11:20:30 +02:00
parent 57bfd6b968
commit 795ccd9782
4 changed files with 4 additions and 14 deletions
+1 -9
View File
@@ -28,14 +28,6 @@ except ImportError:
exit(1)
class ImageFlags:
Orient = 1 << 0
Resize = 1 << 1
Frame = 1 << 2
Quantize = 1 << 3
Stretch = 1 << 4
class ProfileData:
Palette4 = [
0x00, 0x00, 0x00,
@@ -181,7 +173,7 @@ class ComicPage:
size = (self.size[0], self.size[1])
else:
size = (self.panelviewsize[0], self.panelviewsize[1])
# Kindle Paperwhite - Force upscale of splited pages to increase readability
# Kindle Paperwhite/Touch - Force upscale of splited pages to increase readability
if isSplit and landscapeMode:
upscale = True
if self.image.size[0] <= self.size[0] and self.image.size[1] <= self.size[1]: