Urgent.News

What's breaking now, across hundreds of outlets.

Tech

AVIF vs WebP in the Browser: What a Decode-Only Tool Can and Cannot Tell You

AVIF vs WebP in the Browser: What a Decode-Only Tool Can and Cannot Tell You AVIF vs WebP is usually presented as a compression contest. In a browser-only workflow, the more useful question is directional: a local AVIF tool can decode AVIF into JPG, PNG or WebP, but it cannot create an AVIF from your source image. That boundary determines how you run an honest A/B test and what you can promise…

The AVIF vs WebP comparison in the browser is often framed as a compression contest, but a more useful question is how to convert between formats and what can be done with a decode-only tool. An AVIF support page checks if the browser can decode AVIF, decodes a .avif file, and exports it as JPG, PNG, or WebP. However, there is no bundled AVIF decoder, so the file is handed to the browser's own image element.

If the browser fails the test, no converter on that page can help. When looking at support panels, treat results as a statement about the browser in front of you, not about your audience, as older Safari builds, email clients, and many social platforms still fail to render AVIF. A practical test sequence involves running the decode test on the browser you develop in, loading a real .avif file and exporting it to WebP and PNG, and checking the fallback path.

Quality is not free when decoding AVIF and re-encoding to JPG or WebP, as it results in a second lossy generation. For web deliverables, PNG may be a better option than AVIF due to its larger size. Browser-local tools are limited to one file per run, and there are no queues for processing large batches.

Brief written by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

Sliding window technique: concepts, examples, and practice

Why interviewers ask about it The sliding window technique is a popular algorithmic approach used to solve problems involving arrays or lists, particularly when dealing with contiguous subarrays.

  • Sliding window technique optimizes array/list problems focusing on contiguous subarrays
  • Maintains dynamic subset with two pointers representing window's start and end
  • Example: Finding longest substring without repeating characters using set for characters

How fast can open-source SOAR block an attacker? Measuring Wazuh Shuffle MikroTik end to end on OCI

"Automated response" sounds instant. But when a SIEM detects an attack and a SOAR playbook tells a router to block the source, how long does it take until the attacker's packets actually stop ?

  • 30 out of 30 SSH brute-force attacks stopped by Wazuh, Shuffle, and MikroTik
  • Median blocking time of 5.30 seconds from attack event to last packet
  • Active Response feature reduced blocking time to 1.66 seconds

286 pages, 0 orphans: what a GTA6 rumor site taught me about SEO

GTA6 landed on PS5 and Xbox on 19 November 2026. There's still no PC version, no date, no system requirements, and the search results for "GTA6 PC release date" are a mess of fake Steam pages and…

  • GTA6 rumor site released 286 pages in Chinese and English
  • Pages initially one-sentence long, later improved to 500-600 characters
  • Added internal links to boost SEO, indexed by Bing and others

More from Sunday, 29 November 2026 →