mirror of
https://github.com/ciromattia/kcc
synced 2026-01-25 22:47:28 +00:00
remove corrupt image checking (#1221)
* remove corrupt image checking Removed image verification step before copying the image. * Update image.py
This commit is contained in:
@@ -157,7 +157,7 @@ class ComicPageParser:
|
||||
|
||||
# Detect corruption in source image, let caller catch any exceptions triggered.
|
||||
srcImgPath = os.path.join(source[0], source[1])
|
||||
Image.open(srcImgPath).verify()
|
||||
# Image.open(srcImgPath).verify()
|
||||
with Image.open(srcImgPath) as im:
|
||||
self.image = im.copy()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user