this post was submitted on 03 Jun 2026
683 points (98.6% liked)

Technology

85134 readers
6205 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Sylvartas@lemmy.dbzer0.com 2 points 4 hours ago* (last edited 1 hour ago) (1 children)

It's been a while since I learned this but yeah we were taught it significantly reduces images in size, though in quality too (mostly because of the 256 colors limit, otherwise it is technically lossless IIRC). PNG results in slightly smaller files with much better colors and alpha channels so yeah by comparison gif isn't that good, but to be fair, PNG was created as a direct improvement over gifs for single images compression/encoding, and quite some time later too.

Adding to that, video encoding and compression algorithms have gone so far now that encoding basically any video longer than a few frames as a gif is a waste, but that's because these hardly store any actual still frame IIRC, it's mostly codecs-based wizardry which, for a simple explanation, can cheaply encode several frames by basically saying "this whole area stays the same color for X frames" and even moving blobs of pixels across multiple frames, whereas gifs, by design, store each individual frame making up the video.

[–] hirihit640@sh.itjust.works 1 points 34 minutes ago

Interesting, I didn't realize still gif was lossless, I was thinking in comparison to lossy formats like jpg.