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

Feature suggestion: Generate webp images too by default #789

Open
Antronin opened this issue Jul 19, 2023 · 0 comments
Open

Feature suggestion: Generate webp images too by default #789

Antronin opened this issue Jul 19, 2023 · 0 comments

Comments

@Antronin
Copy link

Expected behavior

WebP is with us for more than 10 years. It has advantages over JPEG and/or PNG images and finally, nowadays most browsers are supporting it. I would suggest adding it as an opt-in feature to generate WebP image versions in the pipeline for PNGs and/or JPEGs.
LibVips, MiniMagick, and ImageMagick already support the WebP format, so adding an optional post-processor is completely possible. There are already separate gems for this but I can find no gem which

  • uses LibVips for conversion
  • still maintained.

https://github.com/0xjmp/rails-webp - last commit in 2021, uses ImageMagick
https://github.com/kavu/sprockets-webp - last commit in 2018, uses libwebp through webp-ffi

Please let me know what do you think about the idea.
Thank you.

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