this post was submitted on 24 Jun 2025
246 points (99.6% liked)

Programming

21142 readers
364 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
 

After 20 years, PNG is back with renewed vigor! A new PNG spec was just released.

you are viewing a single comment's thread
view the rest of the comments
[–] mindbleach@sh.itjust.works 10 points 1 day ago (2 children)

Possibly the final version. Quite Okay Imaging (QOI) achieved similar compression with none of the complexity. Lossy + difference = lossless formats are surely the better option where performance is not crucial. Even the fact they fffucking finally made APNG official is decades late to replace GIF, since several image formats are now literally video formats.

The future is webp. And telling software patents to burn in hell.

[–] spartanatreyu@programming.dev 25 points 1 day ago (1 children)

The future is ~~webp~~ JPEG XL...

And telling software patents to burn in hell.

[–] MonkderVierte@lemmy.zip 4 points 1 day ago* (last edited 1 day ago) (3 children)

Never saw even one piece of your "future" in the wild...

[–] soc@programming.dev 3 points 21 hours ago

Happily using it for presentation slides.

[–] bob_lemon@feddit.org 10 points 1 day ago* (last edited 1 day ago)

That's because Google removed the support from chrome after only a few months, and Mozilla never added it to Firefox. And although there's apparently an extension for both, (lossy) image formats need out of the box browser support to have any chance for any kind adoption.

[–] Flipper@feddit.org 10 points 1 day ago (1 children)

As cool and impressive as Qoi is, as long as I can't just send it to someone it's sadly not a replacement for PNG.

[–] mindbleach@sh.itjust.works 4 points 1 day ago

Yeah, adoption's not a feature you can design.

The general idea may show up in any extensible format. Like a PNG encoder that only does Sub filter can encounter each pixel once.

... wait, PNG filtering is byte-level? It doesn't change with bit depth? Christ.