16
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 06 Oct 2023
16 points (100.0% liked)
hexbear
10143 readers
80 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
Aren't some of the offenders vector images? So they'd first need to get converted to a raster format.
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![emoji emilie-shrug emilie-shrug](https://hexbear.net/pictrs/image/0e456906-3e93-42fc-902d-2fc3fad704a8.png)
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.
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.