...JPEG compression works by identifying regions of similar shading or color, and averaging large blocks together. PNG/GIF tends to be more vector oriented, and maps lines.

\r\n\r\n

Result: JPEG works pretty well for images and paintings (blobs of color). PNG/GIF works better for line drawings and text, uses where JPEG tends to produce "edge jitter".