fix 部分图片无法读取
This commit is contained in:
parent
c69d5ed036
commit
f4ea629b28
@ -170,7 +170,7 @@ def dat2img(input_data):
|
|||||||
|
|
||||||
out_bytes = np.bitwise_xor(input_bytes, t) # 使用NumPy进行向量化的异或解密操作
|
out_bytes = np.bitwise_xor(input_bytes, t) # 使用NumPy进行向量化的异或解密操作
|
||||||
md5 = get_md5(out_bytes)
|
md5 = get_md5(out_bytes)
|
||||||
return False, fomt, md5, out_bytes
|
return True, fomt, md5, out_bytes
|
||||||
return False, False, False, False
|
return False, False, False, False
|
||||||
except ImportError:
|
except ImportError:
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user