commit
This commit is contained in:
1 parent
a97acb7595
commit
b94834ac98
1 file changed
+4
-1
+4
-1
@@ -41,7 +41,10 @@ class imageUtils:
|
|||||||
print("图片已解密,已跳过:", save_file_path)
|
print("图片已解密,已跳过:", save_file_path)
|
||||||
return None
|
return None
|
||||||
image_su = str(file_path).split(".")[-1]
|
image_su = str(file_path).split(".")[-1]
|
||||||
img = Image.open(file_path)
|
try:
|
||||||
|
img = Image.open(file_path)
|
||||||
|
except:
|
||||||
|
print(f"error Image")
|
||||||
width = img.width
|
width = img.width
|
||||||
height = img.height
|
height = img.height
|
||||||
#blocks = cls.encodeImage(enStr)
|
#blocks = cls.encodeImage(enStr)
|
||||||
|
|||||||
Reference in new issue
Block a user