1
0
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:
Alex Xu
2026-01-20 20:48:18 -08:00
committed by GitHub
parent f5fd2bb7fe
commit f63387cae4

View File

@@ -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()