Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用脚本从远程 URL 中提取图像,但是有些没有任何扩展名。
有没有办法使用 vb 检测 Mime 类型?
从文件中读取几个第一个字节。而不是将其与模式匹配,lile:
GIF89 -- 用于 GIF
%PNG——用于PNG