News for hackers. Stuff that matters.
Re:Why Tiny JPEGs Look Different in Chrome by gutechh on Wednesday August 12, 2026 @12:14PM (#49274747)
Ah this is weird! My understanding is that png doesn't store the images like jpg at all, they use a palette of all the colors in the image. Then each pixel is a reference to this palette. So it's not IDCT scaling, but I imagine there are other tricks to save on space/cpu when decoding pngs.
Re:Why Tiny JPEGs Look Different in Chrome by binaryturtle on Wednesday August 12, 2026 @01:14PM (#49275670)
PNG supports both, palette based (for 8 bit and less), and just straight direct/true color (RGB or ARGB).

(still different from JPEG's method, of course)