Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
adzm
61 days ago
|
parent
|
context
|
favorite
| on:
Chromium Has Merged JpegXL
Do you mean lossless? PNGs are not lossy. A large photo with alpha channel in a lossless png could easily be 20x the size of a lossy webp
archerx
61 days ago
|
next
[–]
No I meant lossy. This is the library I use;
https://pngquant.org/
thunderfork
61 days ago
|
parent
|
next
[–]
Pre-processing does not a codec make (this is why .gif is considered lossless even though you lose all that 24-bit colour goodness)
archerx
61 days ago
|
root
|
parent
|
next
[–]
Fair enough but it gets the job done well none the less.
Semaphor
61 days ago
|
prev
[–]
PNG of course can be lossy. They aren’t great at it, but depending on the image can be good enough.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: