16
submitted 9 months ago* (last edited 9 months ago) by comfy@lemmy.ml to c/hexbear@hexbear.net

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!

top 14 comments
sorted by: hot top controversial new old
[-] makotech222@hexbear.net 20 points 9 months ago

theres a lemmy fix incoming in the next 0.19 update which will allow frontends to size custom emojis consistently

[-] comfy@lemmy.ml 5 points 9 months ago

That's good to hear, I haven't kept up with development in the last few months.

[-] nat_turner_overdrive@hexbear.net 17 points 9 months ago

trump-who-must-go

The emojis just got ten feet taller, folks

[-] abc@hexbear.net 4 points 9 months ago
[-] RNAi@hexbear.net 11 points 9 months ago
[-] Parsani@hexbear.net 9 points 9 months ago

LIB

Jokes aside, I thought this bug was being fixed so our emojis weren't so big on other servers

[-] comfy@lemmy.ml 3 points 9 months ago

I didn't read the news, apparently it is being fixed in 0.19.

[-] FunkyStuff@hexbear.net 7 points 9 months ago

Aren't some of the offenders vector images? So they'd first need to get converted to a raster format.

[-] WhyEssEff@hexbear.net 5 points 9 months ago* (last edited 9 months 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@hexbear.net 3 points 9 months 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.

[-] comfy@lemmy.ml 4 points 9 months 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.

[-] PM_ME_YOUR_FOUCAULTS@hexbear.net 6 points 9 months ago

If anything the images are too small

this post was submitted on 06 Oct 2023
16 points (100.0% liked)

hexbear

10143 readers
2 users here now

Now that the old Hexbear fork has been officially abandoned, this community will be used as a space for meta-discussion on the site itself.

founded 3 years ago
MODERATORS