This commit is contained in:
caiwx86 2022-12-06 20:49:41 +08:00
parent a97acb7595
commit b94834ac98

View File

@ -41,7 +41,10 @@ class imageUtils:
print("图片已解密,已跳过:", save_file_path)
return None
image_su = str(file_path).split(".")[-1]
try:
img = Image.open(file_path)
except:
print(f"error Image")
width = img.width
height = img.height
#blocks = cls.encodeImage(enStr)