about summary refs log tree commit diff
path: root/kindlecomicconverter
diff options
context:
space:
mode:
authorPaweł Jastrzębski <pawelj@iosphe.re>2018-07-09 08:30:12 +0200
committerPaweł Jastrzębski <pawelj@iosphe.re>2018-07-09 08:30:12 +0200
commit6792c2d3660f6d0293833a3ecc65bb0c6c5df8bc (patch)
tree89e6f52fc7959e0d1d06052d07d8e6114f0ead26 /kindlecomicconverter
parentWebP support (close #263) (diff)
downloadkcc-6792c2d3660f6d0293833a3ecc65bb0c6c5df8bc.tar.gz
kcc-6792c2d3660f6d0293833a3ecc65bb0c6c5df8bc.tar.bz2
kcc-6792c2d3660f6d0293833a3ecc65bb0c6c5df8bc.zip
Bump MAX_IMAGE_PIXELS (close #273)
Diffstat (limited to 'kindlecomicconverter')
-rwxr-xr-xkindlecomicconverter/image.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/kindlecomicconverter/image.py b/kindlecomicconverter/image.py
index 5f195a5..9608482 100755
--- a/kindlecomicconverter/image.py
+++ b/kindlecomicconverter/image.py
@@ -101,6 +101,7 @@ class ProfileData:
 
 class ComicPageParser:
     def __init__(self, source, options):
+        Image.MAX_IMAGE_PIXELS = int(2048 * 2048 * 2048 // 4 // 3)
         self.opt = options
         self.source = source
         self.size = self.opt.profileData[1]