Hacker News new | ask | show | jobs
by chaosmachine 5867 days ago
While hanging around with all those nerds, be sure to ask them about the difference between jpeg and png.
2 comments

I think the difference in this case is around 40kb, haha.
Well, the main difference is you won't end up with blurry text and artifacts.

http://imgur.com/GkCbP.png

holy smokes, chaosmachine, you just changed my world! (not being snarky either, I seriously never knew that in all my days of amateur photodoodling)
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).
PNGs are good at compressing gradients too, I hear.
I don't get the joke, why is this relevant?
The image was originally a blurry jpeg. Now it's a nice crisp png, and the joke is no longer relevant :)