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

Provide sprite version of the emoji images #43

Closed
benjamin-hodgson opened this issue Feb 13, 2015 · 5 comments
Closed

Provide sprite version of the emoji images #43

benjamin-hodgson opened this issue Feb 13, 2015 · 5 comments

Comments

@benjamin-hodgson
Copy link

We all ❤️ sprites. Sprites are fast. 🌠
I don't want to have to generate my own sprite for emojis when I build my JS app. I don't want to have to host my own sprite on my possibly-non-CDNed site.
Would it be out of scope of the project to provide a sprite (and accompanying stylesheet) for the emoji icons?

@WebReflection
Copy link
Contributor

we tested and sprite was everything but fast. Much heavier to download, doubled in problems/maintenance requiring CSS too. Sprites also didn't work as image src.

@paulshapiro
Copy link

How about a JSON or similar file mapping emoji to the image graphic data URI?

@WebReflection
Copy link
Contributor

I think this comment is quite irrelevant for this old, and closed, request.

I will try to answer regardless.

How about a JSON or similar file mapping emoji to the image graphic data URI?

What would that be useful for?

Also consider the image graphic data uri is customisable and generated at runtime, it's not necessarily the MaxCDN one.

You can anyway convert emoji to code-points and vice-versa
https://github.com/twitter/twemoji#utilities

@paulshapiro
Copy link

paulshapiro commented Mar 17, 2017

Yes, I misunderstood why he suggested sprites and have learned a number of things since I made that comment. Considered deleting it. Thanks.

@halid96
Copy link

halid96 commented Dec 21, 2020

we tested and sprite was everything but fast. Much heavier to download, doubled in problems/maintenance requiring CSS too. Sprites also didn't work as image src.

Hello @paulshapiro :) I am just curious, so why Twitter is using sprites on emoji picker if the sprites are slow? see: https://abs.twimg.com/responsive-web/client-web/twemoji_sprite.0fcc5555.png 😉👍

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