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

Update Tachyon to handle WebP images #156

Open
roborourke opened this issue Jul 21, 2021 · 1 comment
Open

Update Tachyon to handle WebP images #156

roborourke opened this issue Jul 21, 2021 · 1 comment

Comments

@roborourke
Copy link
Contributor

Sharp.js, the library used by Tachyon to dynamically resize images now has support for WebP, SVG, PDF, AVIF and GIFs, including animated GIFs.

We should at a minimum enable dynamic resizing of WebP now that WordPress 5.8 supports uploading that format.

The current pass through behaviour for animated GIFs and SVG images is fine, there's nothing much to gain there right now.

@rmccue
Copy link
Member

rmccue commented Jul 21, 2021

We should at a minimum enable dynamic resizing of WebP now that WordPress 5.8 supports uploading that format.

We probably also need the reverse of what we have, transcoding WebP back to PNG for browsers that don't support it.

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

2 participants