ガイド Image format & compression

Hitting 100 KB or 200 KB image limits without ruining clarity: pixels first, quality second

When a photo refuses to compress below 200 KB, the culprit is usually leaving a 12-megapixel frame intact or keeping it as lossless PNG.

Check pixel requirements firstVerify how many pixels your target size actually needs before scaling down.
読了時間
About 7 min
用途
納品前のセルフチェック
更新日
2026-11-17

まず覚えること

For photos, pick JPG or WebP and resize pixel dimensions to what the destination actually needs before tuning quality around 75–85%.

01 / Format selection

Choosing correctly between JPG, PNG, WebP, and SVG

Most oversized image errors happen before a compressor even runs. A camera photo saved as lossless PNG preserves every micro-grain sensor fluctuation and easily weighs 8–15 MB; encoding that exact frame as JPG or WebP often brings it under 200 KB with almost no visible loss.

Conversely, sharp UI screenshots, flat diagrams, text tables, and graphics with alpha transparency suffer ringing artifacts (“mosquito noise”) around edges when forced into aggressive JPG compression. Keep those in PNG or lossless WebP, and keep logos or icons as vector SVG whenever supported.

Compression behavior and best-fit use cases by format
FormatCompressionTransparencyBest Suited ForCommon Pitfall
JPEG / JPGLossy (chroma subsampling)NoCamera photos, ID photos, form uploadsTurns crisp black-on-white UI text blurry
PNGLossless DeflateFull AlphaScreenshots, diagrams, UI overlaysStoring raw phone photos at 10 MB+ each
WebPLossy or LosslessFull AlphaModern web graphics (~25% smaller than JPG)Legacy government/HR portals may reject it
SVGXML Vector PathsNativeLogos, icons, geometric chartsEmbedding a raster bitmap inside SVG saves nothing

02 / Order of steps

Meeting strict 20 KB, 100 KB, or 200 KB upload limits: resize before lowering quality

Modern phones shoot `4032 × 3024` (12 MP) or larger frames by default. Trying to cram 12 million pixels under 100 KB forces the encoder down to extreme quantization, producing blocky patches everywhere.

Resize dimensions first. Web articles rarely benefit from widths wider than `1200–1600 px`; standard ID portals often ask for `295 × 413 px` or `600 × 600 px`. Shrinking a `4032 px` wide photo down to `1200 px` reduces total pixel area to under **9%** of the original—so JPG quality at **80–85%** lands cleanly around 100–180 KB while looking crisp.

For ultra-tight 20–50 KB exam or visa forms, match the portal's exact minimum pixel box first, then let a binary-search compressor find the highest quality that still fits beneath the byte ceiling.

03 / Common myths

Why changing DPI metadata does not shrink a file, while stripping EXIF does

Lowering an image's DPI tag from 300 to 72 does **not** make the file smaller. Unless software resamples the pixel array, DPI is only a few header bytes telling printers how wide to stretch existing pixels.

By contrast, embedded camera **EXIF, XMP, ICC profiles, and preview thumbnails** routinely add **30–80 KB** of hidden overhead. On a strict 50 KB cap, scrubbing metadata can reclaim more bytes than dropping quality another 10 points—while also removing GPS coordinates and device serial tags.

04 / Privacy boundary

Keep ID photos and sensitive scans in browser memory

Many online compressors upload your photos to remote servers for processing. Light Image Lab (`image.hugsy.top`) and Print decode, resize, strip metadata, and re-encode directly via HTML5 Canvas in your browser tab, leaving zero files on any server.

納品前チェック

納品前チェック

次のステップ

ツールを開いて作業を完了

Verify how many pixels your target size actually needs before scaling down.

Check pixel requirements first