androidclient icon indicating copy to clipboard operation
androidclient copied to clipboard

Support for big emojis

Open 115ek opened this issue 7 years ago • 3 comments

I think it will be quite nice to show larger emojis if they are the only content of a message. Signal added this functonality some days ago with a PR Besides there should be an option to disable this (just a simple preference), because I think there are people who won't like it. The Signal guy solved the problem depended on how much emojis a message contains. But we have to be careful with the resolution of the emojis. I don't know how they'll look if we double the size...

115ek avatar Jun 07 '17 09:06 115ek

Thanks for the link to Signal's PR. Their idea is very good indeed.

The problem with Emojis is that they are PNGs. And they are a lot :-) so incrementing (doubling in this case or even more) their size could really increment the APK size by a considerable amount. A possible solution to this would be to use SVG files maybe? Or tiled emojis in a PNG file? I believe we should consider using another set of images before going ahead with this step. Do you know what library/image set Signal uses?

daniele-athome avatar Jun 07 '17 09:06 daniele-athome

I don't know what you exactly mean with tiled emojis, but in the signal repo it exactly looks like that. It seems they use their own emojis and no library - but I can't say this for sure. As you already mentioned: this directory is quite huge: 6.6 MiB only for the emojis.

115ek avatar Jun 08 '17 08:06 115ek

That's weird how they manage to make them so big with upscaling without blurring them.

daniele-athome avatar Jun 12 '17 10:06 daniele-athome