summarylogtreecommitdiffstats
path: root/kcc-py310.patch
diff options
context:
space:
mode:
Diffstat (limited to 'kcc-py310.patch')
-rw-r--r--kcc-py310.patch11
1 files changed, 0 insertions, 11 deletions
diff --git a/kcc-py310.patch b/kcc-py310.patch
deleted file mode 100644
index 84ff2c3fc908..000000000000
--- a/kcc-py310.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- kindlecomicconverter/image.py 2022-01-24 22:43:36.220691413 +0100
-+++ ../kcc-5.5.2-orig/kindlecomicconverter/image.py 2019-10-21 17:27:38.000000000 +0200
-@@ -255,7 +255,7 @@
- if gamma == 1.0:
- self.image = ImageOps.autocontrast(self.image)
- else:
-- self.image = ImageOps.autocontrast(Image.eval(self.image, lambda a: 255 * (a / 255.) ** gamma))
-+ self.image = ImageOps.autocontrast(Image.eval(self.image, lambda a: int(255 * (a / 255.) ** gamma)))
-
- def quantizeImage(self):
- colors = len(self.palette) // 3