diff options
author | Paweł Jastrzębski <pawelj@iosphe.re> | 2018-07-09 08:30:12 +0200 |
---|---|---|
committer | Paweł Jastrzębski <pawelj@iosphe.re> | 2018-07-09 08:30:12 +0200 |
commit | 6792c2d3660f6d0293833a3ecc65bb0c6c5df8bc (patch) | |
tree | 89e6f52fc7959e0d1d06052d07d8e6114f0ead26 /kindlecomicconverter/image.py | |
parent | WebP support (close #263) (diff) | |
download | kcc-6792c2d3660f6d0293833a3ecc65bb0c6c5df8bc.tar.gz kcc-6792c2d3660f6d0293833a3ecc65bb0c6c5df8bc.tar.bz2 kcc-6792c2d3660f6d0293833a3ecc65bb0c6c5df8bc.zip |
Bump MAX_IMAGE_PIXELS (close #273)
Diffstat (limited to '')
-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] |