Optimizing the Compression in JPEGs

JPEG images don't have palettes as GIFs and PNGs do. Instead, the JPEG format compresses the visual information in an image by making it more efficient and tossing out information that the human eye isn't likely to miss. Too much compression gets rid of too much information, and image quality deteriorates noticeably.

GEEKSPEAK

Compression in a graphics format such as JPEG makes a lighter image file by losing a portion of the visual information. Too much compression gets rid of too much information, and image quality deteriorates noticeably.

Good graphics software allows you to specify the amount of compression in a JPEG file by adjusting its quality. There's no hard-and-fast rule for the best quality setting. ...

Get Web Design Garage now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.