this post was submitted on 20 Sep 2025
89 points (87.4% liked)

Programmer Humor

38397 readers
140 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] powerofm@lemmy.ca 3 points 2 days ago (3 children)

I thought webp was supposed to be smaller at the same loss-level as jpeg? Also, doesn't it have a lossless mode too? Compatibility is an issue.

[–] data1701d@startrek.website 1 points 2 days ago (2 children)

Lossless webp actually has slightly better compression than PNG.

[–] GnuLinuxDude@lemmy.ml 4 points 2 days ago (1 children)

Depending on the image in question, lossless webp can have enormous savings. I have in mind screenshots from OpenRCT2 where you can save the whole park in one image. Because that image will have a limited, sharp color palette webp lossless can work magic on it compared to the source .png. In fact in that case it also massively out-performs webp lossy.

[–] data1701d@startrek.website 3 points 2 days ago

Probably would work well on OpenTTD for similar reasons.

Honestly, there’s a bit of an “if I had a nickel” meme for open source reverse engineered clones of Chris Sawyer tycoon games, although it would be 3 nickels rather than the traditional 2 due to OpenLocomotion.