mirror of
https://github.com/ciromattia/kcc
synced 2025-12-25 15:41:44 +00:00
Bump MAX_IMAGE_PIXELS (close #273)
This commit is contained in:
@@ -101,6 +101,7 @@ class ProfileData:
|
|||||||
|
|
||||||
class ComicPageParser:
|
class ComicPageParser:
|
||||||
def __init__(self, source, options):
|
def __init__(self, source, options):
|
||||||
|
Image.MAX_IMAGE_PIXELS = int(2048 * 2048 * 2048 // 4 // 3)
|
||||||
self.opt = options
|
self.opt = options
|
||||||
self.source = source
|
self.source = source
|
||||||
self.size = self.opt.profileData[1]
|
self.size = self.opt.profileData[1]
|
||||||
|
|||||||
Reference in New Issue
Block a user