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

WebGL runtime doesn't support webp images #344

Open
ebhoren opened this issue Feb 1, 2024 · 5 comments
Open

WebGL runtime doesn't support webp images #344

ebhoren opened this issue Feb 1, 2024 · 5 comments

Comments

@ebhoren
Copy link

ebhoren commented Feb 1, 2024

@rive-app/webgl package is unable to display images imported as webp.
This could be very beneficial to reduce .riv filesize while maintaining high quality images.

Am i doing something wrong in my implementation?
Thanks you for this awesome application.

@zplata
Copy link
Contributor

zplata commented Feb 21, 2024

Hi - we'll take a look at this. What version of @rive-app/webgl are you using?

@ebhoren
Copy link
Author

ebhoren commented May 21, 2024

Hi, sorry for the very long delay of response. I'm using @rive-app/webgl 2.15.6

@joelphilippage
Copy link

I have the same issue. The WebGL2 build does not have this issue.

@hajarNasr
Copy link

I have the same issue with @rive-app/react-webgl, 4.13.7. is there any workaround to that isse?

@joelphilippage
Copy link

I have the same issue with @rive-app/react-webgl, 4.13.7. is there any workaround to that isse?

If you upgrade to WebGL2 it does not have the issue. The only downside is that there is some weird bug where the edges of png images have a fuzzy white border. I think this is a Rive Renderer issue because they appear that way in the editor as well. This shouldn't be an issue though if all your images are WebP.

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

4 participants