0 votes

So I'm looking to get a load a webp image from a website as a texture for a sprite, this being done through an HTTPRequest. This works during in-editor testing, but once I export to HTML, this results in a crash. It works just fine with loading PNGs from buffer, but not Webps.

Issue is that I can't change this images to be PNGs as they aren't hosted from my own site, they have to be Webps. I've read online that this isn't possible, and that's fine, but I've also read that a Webp can be loaded, but then saved as a PNG. I was wondering if there was anyone familiar with this kind of issue who could help push me in the right direction.

in Engine by (31 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.