This is mainly so that emotes will not be so disruptive to users on other instances. Due to how they are implemented, most of the emotes have the effect of flooding the comment sections when viewed from other instances, and due to the large amount of cross-instance posting, this is a real issue that makes even sympathetic users annoyed.

Downsizing can be done pretty effectively with an automatic script, using something standard like ImageMagick to downsize them. So, it should not be hard or timetaking for the devs to do.

This will also decrease their filesize, making them load much faster for everyone!

    • WhyEssEff [she/her]@hexbear.net
      link
      fedilink
      English
      arrow-up
      5
      ·
      edit-2
      1 year ago

      The only offenders are vector images. I maintained a strict 120px width limit for emotes, except for SVGs, which got fucked up in the transfer emilie-shrug

      • FunkyStuff [he/him]@hexbear.net
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 year ago

        Any way you can send all the SVGs to live in a farm upstate and replace them with rasterized copies? Idk how the emoji data is handled exactly but it might be fun to try writing a script that does that, I’m sure there’s a Python image library function for rasterizing a vector image.

    • comfyOP
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      I didn’t think of that, but I don’t see why they would need to be converted to raster first. The standard server image conversion tools should be able to take in a vector, if memory serves me.