Added support for WebP images #171343
Replies: 5 comments 6 replies
-
🚀 Is AVIF on the road too? |
Beta Was this translation helpful? Give feedback.
-
Thanks for the change! 😸🖖 |
Beta Was this translation helpful? Give feedback.
-
no comments except "hell yeah" |
Beta Was this translation helpful? Give feedback.
-
Well, WebP is literally 15 years old now, and has been universally supported in every OS and browser for over 5 years, but better late than never. |
Beta Was this translation helpful? Give feedback.
-
![]() Usecase: You obviously want to see both what images was removed/added on a PR without extra clicks. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
WebP image support is now available across github.com and GitHub Enterprise Cloud with data residency. Previously, uploading WebP images resulted in broken previews or forced users to download files to view them. This created friction for users that rely on high-efficiency formats like WebP for faster loading and better compression. By supporting WebP, we’re helping users share, collaborate, and showcase assets without compromise.
What’s changed?
WebP support in comment boxes
You can now upload
.webp
files directly in comment boxes for:Uploaded images in the locations specified above will now display inline, just like PNGs and JPEGs.
WebP rendering for repository blobs & gists
When you upload a WebP image file directly to a repository or gist, the image will render fully inline when viewed. You'll see the image just like with other formats and won't have the "View Raw" feedback.
How to give feedback
We want to hear from you! If you encounter any issues, edge cases, or have suggestions on how WebP support can be improved, leave a comment below! 🚀
Beta Was this translation helpful? Give feedback.
All reactions