WebP vs AVIF vs PNG Image Compression Benchmarks & SRT/VTT Subtitle CPS Timing Guide (2026)
Format benchmarks comparing WebP, AVIF, JPEG, and PNG sizes across screenshots and photos, paired with BBC and Netflix SRT/VTT subtitle CPS, line-length, and millisecond-shift rules.
Choose WebP Q80–Q85 (resized to 1280 px max width) to shrink PNG documentation screenshots by 68%–84% in milliseconds, reserve AVIF Q65 for flagship hero photography, and keep PNG-24 for 2x window mockups and social cards. For subtitles, keep SRT/WebVTT cues within 20 CPS (17 CPS kids), 42 characters per line, and 0.833–7.0 seconds per cue with zero timestamp overlaps.
Google's WebP benchmark proves lossy WebP shrinks photos by 25%–34% while lossless WebP trims PNG by ~26%.
AVIF cuts photographic bytes roughly in half versus JPEG, at the trade-off of 10×–40× slower browser WASM encoding.
Netflix caps adult English captions at 20 CPS and 42 characters per line; BBC targets 160–180 WPM (~17 CPS).
Cues under 0.833 s flash past unread; cues over 7.0 s linger across scene cuts and trigger duplicate re-reading.
1. How WebP, AVIF, JPEG & PNG Compress Pixels Differently
Choosing the right image format starts with understanding what each encoder throws away and what it preserves. PNG uses lossless DEFLATE prediction—great for flat software icons and crisp text, yet horribly bloated for noisy camera photographs because every subtle lighting gradient must be recorded exactly. JPEG discards high-frequency color detail using 8×8 DCT blocks and 4:2:0 chroma subsampling, which shrinks photos dramatically but introduces fuzzy ringing around high-contrast interface text and cannot store an Alpha channel.
WebP (derived from VP8 keyframe coding) modernizes both modes in a single container. Lossy WebP uses predictive block coding that achieves 25%–34% smaller files than JPEG at matched visual quality while adding an optional 8-bit Alpha channel; lossless WebP uses spatial prediction and color-cache coding to trim PNG sizes by roughly 26%. Better still, modern Chrome, Edge, Safari, and Firefox expose native WebP encoding via `HTMLCanvasElement.toBlob('image/webp', quality)`, meaning a browser tab can resize and compress dozens of images locally in under a second.
AVIF (built on the Alliance for Open Media AV1 codec) goes one generation further with larger coding blocks, 10-bit/12-bit color depth, and film-grain synthesis, frequently beating JPEG by 45%–55% on rich photography. Its main constraint in 2026 is encoding speed inside the browser: encoding a 2000 px photo to AVIF via WebAssembly can take 0.5 to 2.0 seconds per image, compared with 20–40 milliseconds for WebP. Use AVIF selectively for flagship homepage heroes and stick with WebP Q80–Q85 for rapid batch documentation and blog workflows.
Table 1: WebP vs AVIF vs JPEG vs PNG Across Four Real Creator Asset Types (2026)
Representative sizes for a 1280×720 web export derived from Google WebP guidelines, AOM AVIF specification behavior, and browser Canvas toBlob benchmarks.
| Asset Category (1280×720) | PNG-24 Size | JPEG Q82 Size | WebP Q82 Size | AVIF Q65 Size | Recommended Pick |
|---|---|---|---|---|---|
| SaaS Dashboard UI Screenshot | 620 KB (100%) | 185 KB (soft text) | 112 KB (-81.9%) | 86 KB (-86.1%) | WebP Q82 (fast batch + crisp UI edges) |
| Product Photography / Hero | 1,480 KB (100%) | 215 KB (-85.5%) | 148 KB (-90.0%) | 102 KB (-93.1%) | AVIF Q65 for flagship hero; WebP Q80 for blogs |
| Alpha Cutout / Sticker / Badge | 340 KB (100%) | Unsupported (no Alpha) | 94 KB (-72.4%) | 78 KB (-77.1%) | WebP Q85 (or lossless WebP for flat logos) |
| 2x Retina Mockup / Social Card | 460 KB (lossless) | 190 KB (color banding) | 142 KB (-69.1%) | 115 KB (-75.0%) | PNG-24 for X/LinkedIn upload; WebP for own site |
2. Resize First, Compress Second: The Two-Step Batch Workflow
Most creators drag the quality slider down to 50% while leaving a 3840×2160 or 2560×1440 screenshot at full native dimensions—producing soft, muddy images that are still 400 KB+. Inverting the order (resize first, keep quality at 80%–85%) yields both smaller files and noticeably sharper text.
- Never upscale smaller images: MediaCraft Studio's Batch Image Compressor automatically keeps original dimensions whenever a photo is already narrower than your chosen 1280 px or 800 px target.
- Inspect live split previews on red and thin gray UI labels: Colored text on dark or white panels reveals compression artifacts faster than large photos.
- Pair compressed body screenshots with 2x macOS/browser window mockups: Use WebP Q82 for inline walkthrough figures, and export 2x PNG window frames for hero announcement images.
Table 2: WebP & JPEG Quality Dial Calibration — Finding the Visual Knee Point
MediaCraft Studio clamps lossy quality between 30% and 100% (default 82%). Raising quality above 90% inflates file sizes steeply with minimal visible gain.
| Quality Band | Relative File Size | Visual Artifacts Check | Best Deployment Scenario |
|---|---|---|---|
| 92% – 100% (Archival Lossy) | 155% – 240% of Q82 | Virtually indistinguishable from PNG | Photography portfolios & print-adjacent previews |
| 78% – 85% (Production Sweet Spot) | 100% (recommended baseline) | Clean edges, natural gradients, crisp UI text | Docs, SaaS changelogs, blog posts, e-commerce |
| 65% – 75% (Mobile Aggressive) | 68% – 82% of Q82 | Mild softening on fine red/blue text | Dense thumbnail grids & low-bandwidth newsletters |
| 30% – 55% (Low-Quality Draft) | 35% – 55% of Q82 | Visible blocking on gradients and typography | Blurred placeholders (LQIP) or internal drafts only |
3. SRT & WebVTT Subtitle Timing: CPS, Line Breaks & Duration Rules Explained
Good subtitles disappear into the viewing experience; bad subtitles force viewers to pause and rewind. Broadcast accessibility teams at the BBC and streaming localization engineers at Netflix independently established quantitative guardrails based on eye-tracking research—and applying those exact numbers to YouTube tutorials, SaaS demos, and online courses takes only minutes with an automated browser checker.
Reading speed is measured in Characters Per Second (CPS): `total visible characters ÷ cue duration in seconds`. Netflix caps adult English programs at 20 CPS and children's content at 17 CPS; BBC guidelines recommend 160–180 words per minute (roughly 17–20 CPS). When speakers talk rapidly during a live coding walkthrough, condensing redundant filler ('so basically right here you can kind of see') by 15%–20% preserves 100% of technical accuracy while cutting CPS from 27 down to 19.
Line balance matters almost as much as CPS. Keep every English line at or below 42 characters (16–20 Chinese characters) and never exceed two lines per cue. Break lines at natural grammatical clauses—keeping prepositions, articles, and verbs paired with their nouns—rather than splitting arbitrarily at character 42. For timing edges, avoid cues shorter than 833 milliseconds (hard for human eyes to register) or longer than 7.0 seconds (causes re-reading across visual cuts).
SRT uses comma milliseconds (`00:02:15,400 --> 00:02:18,200`) with sequential numbers and no file header. WebVTT starts with `WEBVTT` on line 1, uses period milliseconds (`00:02:15.400 --> 00:02:18.200`), and supports optional `NOTE` comments and HTML5 `<track>` styling.
Table 3: SRT vs WebVTT Syntax, Timing & Broadcast Compliance Reference (2026)
Based on Netflix Timed Text Style Guide, BBC Subtitle Guidelines, and the MDN WebVTT specification for HTML5 `<track>` playback.
| Rule / Attribute | SubRip (.srt) | WebVTT (.vtt) | Compliance Target |
|---|---|---|---|
| File Header & Encoding | No header; UTF-8 (strip BOM) | Mandatory `WEBVTT` first line; UTF-8 | UTF-8 LF/CRLF clean parsing |
| Timestamp Separator | Comma: `00:04:12,350 --> 00:04:15,100` | Period: `00:04:12.350 --> 00:04:15.100` | Exact integer millisecond precision |
| Reading Speed Ceiling (CPS) | Checked at export / QA stage | Checked at export / QA stage | <= 20 CPS EN / <= 12 chars/s ZH |
| Line Length & Line Count | Plain text; manual line breaks | Supports cue settings & comments (`NOTE`) | <= 42 chars/line (EN), max 2 lines |
| Platform Compatibility | YouTube, Vimeo, Premiere, CapCut, VLC | HTML5 `<track>`, Safari/Chrome, Course LMS | Export both SRT + VTT from one source |
4. Fixing Global Audio-Subtitle Offsets & Overlapping Cues Locally
Even a carefully proofread SRT file breaks the moment a video editor trims 1.5 seconds of dead air at the start or inserts a 3-second sponsor bumper. Manually re-typing timestamps across 300 cues is error-prone and wastes an hour. Shifting every cue uniformly in integer milliseconds fixes the entire file in one click.
- Use negative shift with zero-clamping: When trimming a 1,500 ms intro, shifting by `-1500 ms` must clamp any early cue at `00:00:00,000` so players never reject invalid negative timestamps.
- Eliminate timestamp overlaps before uploading: If cue #41 ends at `00:03:12,400` and cue #42 starts at `00:03:12,100`, several web players stack both blocks vertically or drop cue #42.
- Start from clean extracted audio: Extract a 16 kHz mono WAV locally with our MP4 to WAV Extractor before running Whisper transcription so speech boundaries remain crisp and free of codec padding glitches.
5. Pairing Clean Images & Timed Subtitles With Stage Timers and Social Packaging
Creators recording webinars, conference talks, or YouTube workshops benefit from keeping preparation and post-production inside the same browser studio. During recording or live delivery, switch MediaCraft Studio's subtitle module into its dedicated Fullscreen Stage Countdown Timer (`/tools/srt-subtitle-stage-timer-studio/stage-timer`) to pace each talk segment with green/amber/red visual cues. Afterward, compress slides and screenshots to WebP, frame flagship visuals in macOS window mockups, generate a 1280×720 YouTube cover from `/presets`, and export validated SRT/VTT captions—all without uploading a single draft file.
Worked Calculation: Optimizing a 12-Image Product Launch Post & Fixing a 28.4 CPS Subtitle Segment
A SaaS founder prepares a release post with 12 macOS Retina screenshots (2560×1600 PNG, 1.95 MB each = 23.40 MB total) and a 6-minute walkthrough video whose Whisper SRT starts 1,250 ms early after adding an animated logo intro and includes a rushed 2.40-second cue containing 68 English characters.
Verified Starting Inputs
- Raw Screenshot Batch
- 12 PNGs × 1.95 MB = 23.40 MB (2560×1600 px)
- Target Blog Column Width
- 1280 px max width · WebP Q82
- Global Subtitle Offset
- +1,250 ms across 94 cues
- Flagged Fast Subtitle Cue
- 68 chars in 2.40 s (00:01:14,200 → 00:01:16,600)
Step 1 — Pixel Count & WebP Batch Compression Savings
Scale = 1280 ÷ 2560 = 0.50 (25% pixels: 1280×800) | 12 × 126 KB = 1.51 MB | Saved = (23.40 - 1.51) ÷ 23.40 = 93.5%Resizing proportionally to 1280×800 drops raw pixel count by 75%, and encoding to WebP Q82 shrinks the 12-image set from 23.40 MB to 1.51 MB—saving 21.89 MB (93.5%) with zero blurred UI buttons.
Step 2 — Calculate Initial Reading Speed (CPS) on the Flagged Cue
Duration = 76,600 ms - 74,200 ms = 2,400 ms (2.40 s) | CPS = 68 chars ÷ 2.40 s = 28.33 CPS (exceeds 20 CPS by +41.7%)At 28.33 CPS and 68 characters on a single line, viewers miss roughly one-third of the sentence while watching cursor clicks on screen.
Step 3 — Apply +1,250 ms Global Shift & Split Into Two Balanced Cues
Shifted start = 74,200 + 1,250 = 75,450 ms (00:01:15,450) | Tightened text: 54 chars over 2.95 s (two lines: 28 + 26 chars) = 18.31 CPSShifting all 94 cues by +1,250 ms restores exact voice synchronization, while editing filler words down to 54 characters across two balanced lines (28 and 26 chars) over 2.95 seconds brings speed down to 18.31 CPS.
Step 4 — Dual SRT + WebVTT Export Verification
SRT: 00:01:15,450 --> 00:01:18,400 | WebVTT: WEBVTT + 00:01:15.450 --> 00:01:18.400Exporting .srt for YouTube/Vimeo and .vtt for the embedded HTML5 product player guarantees 0 overlaps, 0 long-line wraps, and 100% pass across all 94 cues.
Two 60-second local browser passes cut launch-page image bytes by 93.5% and raise subtitle comprehension from 28.33 CPS to 18.31 CPS—with zero files uploaded and zero monthly SaaS charges.
Costly Pitfalls & Executable Pre-Publish Checklist
1. Uploading raw UTF-8 BOM or mixed comma/dot timestamps into HTML5 `<track>` WebVTT players.
Impact: Browsers fail strict WebVTT header detection when a hidden BOM precedes `WEBVTT`, silently rendering zero subtitles.
Fix: Parse and re-export through a compliant SRT/VTT serializer that strips BOM headers and converts commas to periods cleanly.
2. Batch-converting screenshots with Alpha cutouts directly to JPEG.
Impact: JPEG has no Alpha channel and fills every cutout area with solid black or white boxes, ruining dark-mode documentation.
Fix: Select WebP Q82–Q85 (retains full 8-bit Alpha at 70%+ smaller size) or lossless PNG when Alpha edges are required.
3. Encoding dozens of 4K blog screenshots to AVIF in-browser on a battery-powered laptop.
Impact: Heavy WASM AVIF encoding spikes CPU to 100% for several minutes while yielding only ~20–30 KB extra savings per 1280 px screenshot over WebP.
Fix: Resize to 1280 px and batch-export native WebP in under 1 second; reserve AVIF for 1–2 flagship hero photos.
4. Leaving single-line 60+ character cues or sub-0.6-second flash captions unedited.
Impact: Mobile YouTube and vertical video players force ugly 3-line wraps that cover lower-third UI buttons and distract viewers.
Fix: Keep lines <= 42 chars (EN) / <= 20 chars (ZH), merge micro-cues under 0.833 s, and enforce <= 20 CPS.
Pre-Export Verification Checklist
- Downscale wide screenshots to 1280 px (or 800 px inline) before running WebP Q80–Q85 compression.
- Check split-screen before/after preview on fine UI text and colored badges before downloading the batch.
- Export lossless 2x PNG-24 for hero window mockups and social cards uploaded to re-compressing social feeds.
- Apply exact ±ms subtitle shifts after intro/outro edits and verify cue #1 starts cleanly at or after 00:00:00,000.
- Resolve all flagged > 20 CPS, > 42 char/line, and overlap warnings, then export both `.srt` and `.vtt` copies.
Batch Image Compressor & Window Mockup Studio
Batch compress PNG, JPG, and WebP locally with live split preview, or frame screenshots in macOS and browser windows for 2x PNG export.
Verified Primary Standards & Official Sources
- Google for Developers — WebP Compression Techniques & Predictive Coding (Google for Developers)
- web.dev — Serve Images in Modern WebP Format (web.dev (Chrome Team))
- Alliance for Open Media — AV1 Image File Format (AVIF) Specification (Alliance for Open Media)
- BBC Accessibility — BBC Subtitle Guidelines (Reading Speed & Line Breaks) (BBC)
- Netflix Partner Help Center — Timed Text Style Guide: General Requirements (Netflix Studios)
- MDN Web Docs — WebVTT API & Cue Timing Specification (MDN Web Docs)
Frequently Asked Questions
Does WebP support Alpha cutouts like PNG without leaving white backgrounds?
Yes. Both lossy and lossless WebP support a full 8-bit Alpha channel while typically shrinking file size by 65%–80% compared with 24-bit PNG. JPEG is the legacy format that strips Alpha channels.
What WebP quality setting looks sharp for software UI screenshots?
80%–85% (MediaCraft Studio defaults to 82%) hits the visual knee point: UI borders, syntax-highlighted code, and 12–14 px labels remain crisp while file size drops roughly 70%–84% compared with raw PNG.
Why did Netflix set 20 CPS and 42 characters per line as subtitle limits?
Reading speeds above 20 characters per second force viewers to stare continuously at the bottom text band instead of watching visual action, and lines beyond 42 characters wrap unevenly into three lines on smaller mobile viewports.
How do I shift an entire SRT file when my video starts 2 seconds later?
Load the .srt or .vtt file into MediaCraft Studio's local SRT/VTT Subtitle Editor, enter `+2000` milliseconds (or click the `+1000 ms` quick shift button twice), verify no overlap warnings appear, and export the updated file locally.
Should I upload .srt or .vtt to YouTube, Vimeo, and my own documentation website?
Upload `.srt` to YouTube, Vimeo, LinkedIn, and video editors like Premiere or CapCut, and serve `.vtt` (WebVTT) inside HTML5 `<video><track>` elements on your own website because browsers parse WebVTT natively.
Why does MediaCraft Studio resize images before encoding when I pick 1280 px or 800 px?
Halving width and height cuts raw pixel count by 75% before lossy quantization even starts, allowing higher encoding quality (Q82) at a fraction of the byte weight and faster decoding on mobile devices.