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

Add WebP output support #50

Open
CMiksche opened this issue Oct 27, 2022 · 4 comments · May be fixed by #60
Open

Add WebP output support #50

CMiksche opened this issue Oct 27, 2022 · 4 comments · May be fixed by #60
Labels
enhancement New feature or request

Comments

@CMiksche
Copy link

WebP offers the same quality and also animations, but needs way less data. (One GIF of mine was 171 KB and the same as WebP was just 13 KB)

@LarryBattle
Copy link

Output to a webm video format, then include it using the video HTML5 tag.

More info:

@CMiksche
Copy link
Author

Output to a webm video format, then include it using the video HTML5 tag.

WebM is a video format, I want an animated picture, which WebP also offers (see the "Animation" part in your linked Wikipedia article)

You can include WebP in your GitHub / GitLab Repos. I never saw someone using a video format inside a repo...

@maaslalani
Copy link
Member

@CMiksche we'll definitely implement this feature! Will be cool to have webp animated images! Thank you for creating this issue!

@bashbunni bashbunni added the enhancement New feature or request label Oct 28, 2022
@caarlos0 caarlos0 linked a pull request Oct 28, 2022 that will close this issue
@the8472
Copy link

the8472 commented Oct 28, 2022

For anything containing sharp, high-contrast edges (such as rendered fonts) you'll want a media format that supports 4:4:4 chroma.
At least the lossy version of webp uses 4:2:0 chroma subsampling. The lossless version could be used but it most likely doesn't compress as well.

The following web-compatible formats should support full chroma:

¹ no chroma subsampling, but of course it still suffers from its limited palette

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

Successfully merging a pull request may close this issue.

5 participants