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 upload support #991

Closed
yaustar opened this issue Mar 2, 2023 · 1 comment
Closed

Add .webp upload support #991

yaustar opened this issue Mar 2, 2023 · 1 comment

Comments

@yaustar
Copy link
Collaborator

yaustar commented Mar 2, 2023

WebP is supported on 97.41% of devices (Safari 13 and below do not support WebP) and has significant file size savings compared to PNG and JPEG for the same quality.

https://caniuse.com/webp

From Google: https://developers.google.com/speed/webp

WebP lossless images are 26% smaller in size compared to PNGs. WebP lossy images are 25-34% smaller than comparable JPEG images at equivalent SSIM quality index.

It is decided that we would treat it as a developer's choice to use WebP knowing the limitations rather than adding a fallback or variant option.

Areas affected:

  • File upload
  • Texture compression
  • Asset tasks for resizing (POT, etc)
  • glTF import support
@marklundin
Copy link
Member

This has been completed

@github-project-automation github-project-automation bot moved this from In Progress to Done in PlayCanvas Roadmap Nov 10, 2023
@willeastcott willeastcott modified the milestones: Q4 2022, Q4 2023 Feb 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

3 participants