Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

较新版 Chrome 下载的 500px 上的图片只能用 Chrome 才能打开 #2

Open
qingely opened this issue May 27, 2018 · 0 comments

Comments

@qingely
Copy link
Owner

qingely commented May 27, 2018

如该图片链接:https://drscdn.500px.org/photo/258271235/m%3D900/v2?webp=true&sig=b69963c7ba89c2a86ec16c9f6e3276716ecf415b7d3ed0667af0346ad1862e3b。你会发现:较新版 Chrome 下载的 500px 上的图片只能用 Chrome 才能打开;而其他浏览器如 Firefox 与 Edge 都正常。

原因归结于该链接图片采用的是 webp 格式。较新版 Chrome 在下载时其实其实并没有将其转化为为 “ jpg 格式”(因为 Chrome 本身支持 webp 格式),只是仅仅默认的保存为 “ jpg 格式”罢了【想说这样有点误导用户】;而 Firefox 与 Edge 本身不完全支持 webp 格式,所以二者在下载的过程中其实已经将 “ webp 格式” 转化为 “ jpg 格式” 了。

相关话题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant