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

Support for GIF Animations #79

Closed
BenDol opened this issue Apr 2, 2015 · 2 comments
Closed

Support for GIF Animations #79

BenDol opened this issue Apr 2, 2015 · 2 comments

Comments

@BenDol
Copy link
Contributor

BenDol commented Apr 2, 2015

Hey wondering if there would be a way to load a GIF image and animate it? It makes sense that this could be possible with Java, but to have this work on HTML is probably not as straight forward? Anyway appreciate any help I can get!

@BenDol
Copy link
Contributor Author

BenDol commented Apr 4, 2015

Got my GIF files extracted and loaded as sprite sheets, but the sprites end up taking up 100mb per unique instance. Might need some help optimizing my images haha. Thanks!

@samskivert
Copy link
Member

Yeah, this is not really something that would be implemented at the platform layer. We couldn't automatically process GIFs in the HTML backend, and it's not really worth the trouble for the other backends. Better to pre-process your GIF and do it in a library that someone (other than me) writes which works on top of PlayN.

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

2 participants