You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm wondering what approach I should use for adding a detection for WebP image format support. I'm thinking that a simple series of internal checks on browser types and minimum version numbers would be the way to go.
Here's a chart of which browser versions support the WebP image format:
This sounds like a great feature to add. I don't have a lot in the way of suggestions. Following the pattern for mobile() sounds good. We'd just need appropriate tests to accompany the PR. Feel free to ping me if you run into any issues while getting this going.
I'm wondering what approach I should use for adding a detection for WebP image format support. I'm thinking that a simple series of internal checks on browser types and minimum version numbers would be the way to go.
Here's a chart of which browser versions support the WebP image format:
https://caniuse.com/#feat=webp
Any suggestions? I'd be happy to write some code for a webp() subroutine that behaves like the mobile() subroutine.
Thanks.
The text was updated successfully, but these errors were encountered: