Ancestors

Toot

Written by Jocelyn on 2025-01-13 at 10:19

Why does #Mastodon use #PNG format to share #embeddedImages in #toots, and not #JPG #JPEG ?

The aim of embedding images in a toot is in general not so share images with a print quality, and there are other means of sharing if that's the aim -- so why not gain a factor 2 or 3 on file size both for #environmental #footprint reduction and to reduce the burden on #instance #servers ?

=> More informations about this toot | More toots from cyclotopie@mastodon.gougere.fr

Descendants

Written by AlexTECPlayz on 2025-01-13 at 10:23

@cyclotopie So, you're asking if Mastodon doesn't use WebP, JPEG-XL, AVIF, or other formats?

It's because PNG is reliable, and supported across all browsers. WebP is now supported across most, AVIF still has work to do, and JPEG-XL is unsupported across the board, unless patches (on Chrome) and flags (on Firefox) are added or enabled.

See: https://github.com/mastodon/mastodon/issues/20896

=> More informations about this toot | More toots from alextecplayz@techhub.social

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113820538658008688
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
261.753367 milliseconds
Gemini-to-HTML Time
0.378836 milliseconds

This content has been proxied by September (ba2dc).