Hacker News new | ask | show | jobs
by uses 372 days ago
PNG should be used for some types of graphics, like whenever you have big areas of solid color (like logos) or any time you need translucency / transparency. Although, nowadays you can and should use SVG in most of those cases.

JPEG should be used for everything else.

1 comments

if your software supports it, lossless jpeg-xl supports all of these and should give you better compression