about summary refs log tree commit diff
path: root/kindlecomicconverter
diff options
context:
space:
mode:
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]