调整ai数据
This commit is contained in:
1 parent
f8c300a4c6
commit
c2f5cd98ff
493 files changed
+7
-7
No files matched your search
@@ -0,0 +1,8 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import struct
|
||||
src = r"c:\Users\30272\.trae-cn\attachments\6abd5dab88c975032f77b873\45664c29-17cf-4473-8de0-b4f99b618bb9_8d157aea-2a26-4cb5-8f07-a59b4c212fa5_Jianbing.png"
|
||||
with open(src, "rb") as f:
|
||||
head = f.read(16)
|
||||
print("magic hex:", head[:16].hex())
|
||||
print("signature:", head[:8])
|
||||
# PNG: 89504e470d0a1a0a WEBP: 52494646....57454250 JPEG: ffd8ff GIF: 47494638
|
||||
Reference in new issue
Block a user