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.
| Format | Compression | Transparency | Best Suited For | Common Pitfall |
|---|---|---|---|---|
| JPEG / JPG | Lossy (chroma subsampling) | No | Camera photos, ID photos, form uploads | Turns crisp black-on-white UI text blurry |
| PNG | Lossless Deflate | Full Alpha | Screenshots, diagrams, UI overlays | Storing raw phone photos at 10 MB+ each |
| WebP | Lossy or Lossless | Full Alpha | Modern web graphics (~25% smaller than JPG) | Legacy government/HR portals may reject it |
| SVG | XML Vector Paths | Native | Logos, icons, geometric charts | Embedding 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