跳至内容
PicsSizer.com LogoPicsSizer.com
Image Formats

What is JPEG?

JPEGJPEG (Joint Photographic Experts Group) is the most widely used lossy image compression format, optimized for photographs and natural images. Quality is controlled by a 0–100 scale; quality 80–85 is the standard for web distribution.

JPEG (or JPG) is a lossy image compression format standardized in 1992 by the Joint Photographic Experts Group. It uses Discrete Cosine Transform (DCT) to convert image data into frequency components, then discards high-frequency details (imperceptible to the human eye) to achieve compression.

The quality setting (0–100) controls how aggressively high-frequency data is discarded. Quality 95–100 preserves most detail with minimal artifacts but produces large files. Quality 70–85 is the practical sweet spot for web images — visually near-lossless for photographs while achieving 4–10× compression over raw pixel data. Below quality 60, JPEG artifacts (blocking, ringing, color banding) become clearly visible.

JPEG supports 8-bit color (16.7 million colors in sRGB) but does not support transparency. It is universal across every device, browser, email client, and software application — making it the default format for photograph distribution.

JPEG Compression Artifacts

JPEG compresses images in 8×8 pixel blocks. When quality is low, the boundaries between blocks become visible as a grid pattern ('blocking artifact'). Ringing artifacts appear as halos around sharp edges. Color banding occurs in smooth gradient areas. These artifacts are permanent — each save at a quality below the original adds more. For this reason, always work from the original uncompressed file and export JPEG only as the final step.

Progressive vs Baseline JPEG

Baseline JPEG loads top-to-bottom. Progressive JPEG stores multiple scans of increasing detail — the entire image appears blurry first, then sharpens progressively as more data loads. Progressive JPEG often provides slightly better compression at the same quality and improves perceived load performance on slow connections. Most modern image optimization tools default to progressive JPEG.

JPEG vs Modern Formats

WebP lossy achieves 25–34% smaller files than JPEG at equivalent quality. AVIF achieves ~50% smaller files. Despite this, JPEG remains the most compatible format for email, desktop software, and print workflows. Use WebP or AVIF for web delivery and JPEG for maximum compatibility in distribution.

JPEG Tools on PicsSizer

Frequently Asked Questions

What is the best JPEG quality setting for the web?

Quality 75–85 is the standard recommendation for web images. This setting is visually near-lossless for photographs while reducing file size by 60–80% compared to quality 100. For images shown at small sizes (thumbnails, avatars), quality 70 is often acceptable. For hero images shown full-screen, quality 85 is safer.

Does JPEG support transparency?

No. JPEG does not support alpha channel (transparency). For images requiring a transparent background, use PNG, WebP, or AVIF instead.

Why does JPEG quality degrade each time I save?

JPEG is lossy — each save re-compresses the image, discarding more data. Saving a quality-80 JPEG at quality 80 again introduces additional artifacts. To avoid generation loss, always work from the original uncompressed source (RAW, PNG, or TIFF) and export JPEG only as the final output step.

Related Terms