diff options
Diffstat (limited to 'kindlecomicconverter/image.py')
-rwxr-xr-x | kindlecomicconverter/image.py | 1 |
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] |