Hacker News new | ask | show | jobs
by Scriptor 5862 days ago
A very general rule I learned is that png's are best for images with large areas of the same color (screenshots, logos, text) while jpegs are best for images with lots of color variation (real-life pictures, for example).
1 comments

PNGs are good at compressing gradients too, I hear.