SVG Emojis

Comments

8 comments

  • silhou3773

    Agreed. This needs to be a feature.

    4
  • SupinePandora43

    vector images will lower use of memory on discord's servers, and on mobile phones.

    5
  • MyriaCore

    The *actual* emojis use svg (bc ofc they do, it's a better format for what is effectively typesetting), this should totally be extended to users.

    5
  • GoodClover

    You can even have animated SVGs which will be brilliant compared to the current gifs.

    5
  • DaGolla

    SVGs can be arbitrarily complex to render (imagine an SVG file containing instructions to render hundreds of thousands of bezier curves or something). Which means that someone could craft an SVG that would slow down/freeze the client while it tries to render - and it'd be pretty hard to develop a reliable heuristic for detecting this.

    Builtin emojis are OK to be SVGs as they're obviously not malicious, but we can't guarantee this for custom emojis.

    - u/ReallyAmused
    (source: https://www.reddit.com/r/discordapp/comments/557d3o/svg_custom_emoji/)

    this makes a lot of sense. thought I'd share for anyone still wondering

    -3
  • MaurolepisDreki

    Definitely need SVG option for users, despite what nay-sayers on reddit might think.
    The "heuristic" they say would be so difficult to develop is actually quite trivial: if it takes longer than three seconds to rasterize an SVG frame, then time out.  Discord already puts an 8 MB limit on file uploads, and "hundreds of thousands of bezier curves" is not nearly as complex a rendering as 3 seconds of your favorite 3D accelerated game.

    1
  • CicadaNFT

    GitHub repos are able to display animated SVGs: https://github.com/nbedos/termtosvg
    I don't think it is a security or technical issue if done properly.

    SVG are vastly more efficient size wise for many graphics and we should be supporting good technology.

    3
  • Egiziano

    Bump!

    0

Please sign in to leave a comment.