JPEG vs PNG Debate

The cluster focuses on debates about using PNG over JPEG for images containing text or sharp elements, criticizing JPEG's compression artifacts and praising PNG's lossless quality, with some noting PNG's drawbacks like larger sizes for photos or slower processing.

➡️ Stable 0.6x Web Development
3,713
Comments
20
Years Active
5
Top Authors
#812
Topic ID

Activity Over Time

2007
6
2008
16
2009
59
2010
106
2011
113
2012
167
2013
201
2014
158
2015
202
2016
237
2017
215
2018
156
2019
192
2020
230
2021
417
2022
317
2023
317
2024
206
2025
365
2026
35

Keywords

R5 L120 e.g stdio.h P6 CSP CgBi GPU JPEG o.O png image format compression jpeg jpg images artifacts lossless file

Sample Comments

cloudwalking • Oct 27, 2010 • View on HN

And use JPG rather than PNG--the compression is designed for stuff like this.

guelo • Apr 12, 2016 • View on HN

Classic case where PNG would have been superior.

BerislavLopac • May 1, 2010 • View on HN

Errr, isn't that what PNG is for? o.O

chaosmachine • Oct 1, 2009 • View on HN

And compression artifacts. They used JPEG instead of PNG :\

Ono-Sendai • Nov 23, 2015 • View on HN

Don't use jpeg format for this stuff, you'll end up just looking at blocking artifacts. Use PNG.

fao_ • Jun 5, 2017 • View on HN

What benefits does this have over PNG, farbfeld, etc. ?

rsp1984 • Apr 2, 2022 • View on HN

PNG works quite well on these kinds of images too.

legulere • Nov 21, 2013 • View on HN

The JPEG artifacts here really hurt. A png would also have been smaller probably.

nightcracker • Sep 25, 2021 • View on HN

PNG is lossless, so it really does.

blt • Nov 2, 2017 • View on HN

Please at least use png, jpg is terrible for compressing images of text.