• Editor
  • WebP Support

  • Изменено
Related Discussions
...

Hi,

I've always been wondering why Spine doesn't support the WebP image format. Everyone want to have their file sizes as small as possible and WebP is a big part of that.

Does anyone know why Spine doesn't have support for this?
Are there any workarounds for it currently?
Are there any future plants for it?

Hi Erika,

Thanks for your response! I read through your links, but there aren't any way to export .WebP formatted texture files. only .png, .apng .jpeg and .gif. Texture packer can easily export .WebP images and Spine seems to use it, but why isn't WebP an option to export with?

I would need a way to export both .png and .WebP textures and have browser pick .WebP if supported by the browser and otherwise have .png as a fallback. Extremely useful stuff and sounds pretty simple to implement in my ears as well, am I wrong?

12 дней спустя

Hi,

This of course has not answered the question about .WebP support at all. Is there a reason why .WebP image format for exports isn't supported? Is there a way to get it to work?

Thanks!

Hello, it looks like we have considered WebP in the past and later decided not to go through with it, more details on our issue tracker:
https://github.com/EsotericSoftware/spine-editor/issues/69

Regarding the question, I guess you could probably convert your images to webP, but that would have to be done outside of Spine and then you'd have to ensure your game development webkit is also able to read them. Some people have done something similar by replacing the png files exported from Spine with SVGs, so if you can manage to replace your PNGs with WebP and make sure they can also be read correctly, I guess you could make it work!
(Note: I am an artist, not a coder)

Thanks for your detailed response! Hope Spine team can solve this in the future. 🙂