1
0
mirror of https://github.com/ciromattia/kcc synced 2025-12-13 01:36:27 +00:00

Bump MAX_IMAGE_PIXELS (close #273)

This commit is contained in:
Paweł Jastrzębski
2018-07-09 08:30:12 +02:00
parent ef4a91e44d
commit 6792c2d366

View File

@@ -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]