this post was submitted on 03 Nov 2024
54 points (96.6% liked)

Ask Lemmy

26924 readers
1383 users here now

A Fediverse community for open-ended, thought provoking questions

Please don't post about US Politics. If you need to do this, try !politicaldiscussion@lemmy.world


Rules: (interactive)


1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them


2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?


3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com. NSFW comments should be restricted to posts tagged [NSFW].


5) This is not a support community.
It is not a place for 'how do I?', type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.


Reminder: The terms of service apply here too.

Partnered Communities:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 1 year ago
MODERATORS
 

I find it very weird that Lemmy support gifs but does not support svg format, is there is a specific reason for that?

you are viewing a single comment's thread
view the rest of the comments
[–] ptz@dubvee.org 24 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

Looks like you can embed SVGs in markdown, and they render (tested in Tesseract and Lemmy-UI). So if you link them externally, support is technically there.

Lemmy Logo SVG

EmojiMart also supports SVG for custom emojis. So I guess if you host SVG custom emojis from a static folder, they should work as-is, though you'd need to add them to the database manually (which is a Lemmy UI limitation since it only presents an upload field rather than a URL field).

But yeah, pict-rs seems to be the roadblock for "native" support.

[–] aeronmelon@lemmy.world 7 points 2 weeks ago (1 children)
[–] ptz@dubvee.org 4 points 2 weeks ago (1 children)

Nice. I figure all the web-based ones should unless they've got a static list of image types that doesn't include svg. The installed apps could be hit or miss depending on how they're implemented.

[–] swab148@lemm.ee 3 points 2 weeks ago (1 children)
[–] ouRKaoS 2 points 2 weeks ago

The spoiler tag doesn't work either, lol