惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

K
Kaspersky official blog
罗磊的独立博客
F
Fortinet All Blogs
人人都是产品经理
人人都是产品经理
量子位
V
Visual Studio Blog
Blog — PlanetScale
Blog — PlanetScale
M
MIT News - Artificial intelligence
B
Blog RSS Feed
腾讯CDC
博客园_首页
aimingoo的专栏
aimingoo的专栏
博客园 - 三生石上(FineUI控件)
博客园 - Franky
S
SegmentFault 最新的问题
N
Netflix TechBlog - Medium
小众软件
小众软件
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
L
LINUX DO - 热门话题
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Martin Fowler
Martin Fowler
D
Docker
P
Privacy & Cybersecurity Law Blog
S
Securelist
V
V2EX
Jina AI
Jina AI
阮一峰的网络日志
阮一峰的网络日志
T
Tor Project blog
The Hacker News
The Hacker News
Microsoft Azure Blog
Microsoft Azure Blog
AWS News Blog
AWS News Blog
The GitHub Blog
The GitHub Blog
有赞技术团队
有赞技术团队
T
The Exploit Database - CXSecurity.com
Help Net Security
Help Net Security
酷 壳 – CoolShell
酷 壳 – CoolShell
Application and Cybersecurity Blog
Application and Cybersecurity Blog
博客园 - 叶小钗
Recent Announcements
Recent Announcements
Cloudbric
Cloudbric
Y
Y Combinator Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Latest news
Latest news
MongoDB | Blog
MongoDB | Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Recorded Future
Recorded Future
V2EX - 技术
V2EX - 技术

ImageKit.io Blog

Next.js Image Optimization with ImageKit Use Video as a Background in Your Next.js Project How to Fix Autoplay Video in Next.js How Durian Scaled a Visual-First Retail Experience to 350K Monthly Visitors Online How Matsmart accelerated image delivery across countries with ImageKit AI in Digital Asset Management: From Smart Workflows to Agentic Automation How Joseph Joseph unified and secured global video delivery with ImageKit How Modall powers fast, effortless media delivery across 40+ projects with ImageKit Digital Asset Management (DAM) Trends: 2026 Report How to add a poster image to Video.js player (and automate it) HLS streaming with Video.js + React Building the future of storytelling with fast, AI-powered video delivery How PushOwl delivers 100M+ image-rich notifications seamlessly with ImageKit How Homify delivers millions of interior design images seamlessly with ImageKit Better event discovery with lightning‑fast videos & images Adding video player in React Native Video player in Angular applications Crop and resize videos in React Next.js image and video upload React image and video upload React video optimization How we quadrupled our traffic to 625K monthly page views How Apollo 24|7 boosted performance & reduced costs with ImageKit Simplify your media workflows with ImageKit DAM integrations Extending Lighthouse for custom image and video optimization analysis Brand Asset Management: What is it? How does it work? WordPress Digital Asset Management Guide - Manage your WP media assets better Why Shopify retailers need a digital asset management solution DAM vs. SharePoint: Which is best for you? AI-powered Metadata and Tagging in Digital Asset Management How Hopscotch built India's largest online Kids' fashion brand with ImageKit Dropbox Vs. DAM: Which Is The Right Tool For Digital Asset Management Digital Asset Management for Photographers: A Complete Guide Why digital asset management for agencies is essential Helping both Top and Bottom Line: SaffronStays rapid, profitable growth with ImageKit How KreditBee simplified media experiences with ImageKit Google Drive alternatives for businesses (with fast-growing teams) Node.js image upload ImageKit: The Secret Ingredient in Swiggy’s Expansion Journey Streamlining the Design Approval Process: A Comprehensive Guide AV1 Codec - Complete guide for video application devs PHP image and video upload Angular image & video upload AV1 vs VP9: Which codec should you choose? Adding video player in Next.js React Video Player VP8 vs VP9 - In the context of online video delivery Exploring WebM vs MP4 7 Free Digital Asset Management Software that are not Open-Source Comparing 9 Top Digital Asset Management Tools in the Market What are Brand Standards and Why do they Matter? Boost Sales and Brand Appeal: Essential Tips for eCommerce Image Management Brand Recall: The Strategy to Create Unforgettable Brands How to upload files in HTML? Branding for Small Businesses (2025 Edition) Everything you need to know about VP9 codec Recent updates from ImageKit and what's next Best Ways to Write RFP For Digital Asset Management (+ with free RFP template) What is Brand Dilution? How to Avoid It? Explained with [Examples] The Importance of Brand Identity: Leveraging Digital Asset Management for Impact From Launch to Scale: How to Launch a Brand Campaign Digital Asset Management Requirements - What do You Need to Evaluate and How? Marketing Collateral Management: A Quick End-to-End Guide Video Content Management System: What Is It And How To Choose One? Dropbox vs. Google Drive vs. Onedrive: The Best Cloud Storage Solution How to Build Brand Trust: Get Started In 2025 Google Drive vs. Box: A Detailed Comparison How Digital Asset Management Solutions Help Protect Brand Equity A DAM Solution Can Safeguard Your Digital Intellectual Property - Here’s How WebP Vs. PNG: Which Image Format Should You Use and Why? How to Resize Images in Bootstrap Easily Progressive jpegs (PJPEG): the key to loading images faster on your website Dropbox vs. Google Drive: The Best Cloud Storage For Digital Assets Dropbox Pros & Cons In 2024: An In-Depth Analysis and Why A DAM Solution Stands Out Google Drive Vs OneDrive: The Better Storage Option For Digital Assets Manage your video assets better with video metadata Understanding DAM's Role in Strengthening Brand Identity Digital asset management strategy: What to know before creating one The Ultimate Guide To Marketing Agency Onboarding 6 Solutions To Simplify Large File Sharing Over The Web A Step-by-Step Breakdown of a Video Production Workflow 13 Digital Asset Management Use Cases You Should Know How to Conduct a Brand Audit and Manage Your Brand Assets Costly Consequences of Inconsistent Branding And How DAM Can Help Dynamic Asset Transformation: What It Is, Why You Need It, and How ImageKit Can Help Everything You Need to Know About HTML Video Autoplay How To Select Your DAM Vendor: A Complete Guide How to Boost User Experience with Smart Digital Asset Management React Image Optimization: A Guide for Web Developers Why Should DAM Be A Part Of Your MarTech Stack? Unleashing the Power of Content Repurposing with ImageKit MKV vs MP4: Which Video File Format Is Better for Your Needs? Digital Asset Management For Ecommerce: A Complete Guide How an Image Tagging Software can Transform Your Image Search How to Manage Your Content Lifecycle Effectively M4V vs MP4: Which Video Format Should You Use and Why? Why Every Business Needs An Image Management System All The Questions To Ask During A Dam Demo Which is the Best Image Format for Your Website? Uploading Multiple Files Using JavaScript: A Comprehensive Guide
How to optimize images to the new AVIF format
Rahul Nanwani · 2020-12-20 · via ImageKit.io Blog

AV1 Image File or AVIF is a new image format that offers superior compression, visual image quality, and features as compared to the traditional formats like JPEG, PNG, and GIF, and even the relatively new WebP format. It has generated a lot of interest from website owners, especially after the popular blog by Netflix that highlights the superior features of AVIF compared to JPEG and even WebP images.

In this post, after comparing some features of AVIF vs. other formats, we will look at how you can start using AVIF images on your website today, with the help of ImageKit.

Is AVIF supported in browsers and apps?

Chrome 85+ already supports AVIF format by default. That alone accounts for over 25% of internet users as of December 2020. Firefox also has this feature available behind a configuration flag right now and should make it available by default in the future. Android devices, too, would soon add support for AVIF images. The latest status for browsers supporting AVIF can be found here.

Status of AVIF support in browsers as of December 20, 2020
Status of AVIF support in browsers as of December 20, 2020

The Alliance for Open Media, which includes all the big names in technology like Google, Apple, Microsoft, Amazon, Facebook, Mozilla, and many more, is working towards creating this royalty-free, cross-platform format for media delivery. With such big names backing AVIF, it is likely to get adopted much faster than the WebP format, which took almost ten years from launch before being supported in Firefox.

Comparing AVIF with other formats

Let's look at the compression and visual quality of AVIF images as compared to other formats. Here we are resizing the image to 500px width and then converting it to different formats - JPG, WebP, and AVIF. Each rendition is captured as a lossless PNG image for the comparison below. There are two kinds of comparisons here -

a. Comparing the image size in different formats at similar visual quality

AVIF - 80KB WebP - 91.9KB JPEG - 116KB
AVIF - 10.7KB WebP - 15.5KB JPEG - 29KB
AVIF - 11.1KB WebP - 16.4KB JPEG - 31KB

b. Comparing the visual quality in different formats at the same size

AVIF (at 80KB) WebP (at 80KB) JPEG (at 80KB)
AVIF (at 10.7KB) WebP (at 10.7KB) JPEG (at 10.7KB)
AVIF (at 11.1KB) WebP (at 11.1KB) JPEG (at 11.1KB)

We can clearly see in both the above comparisons that AVIF images result in smaller images at the same visual quality and when a format like JPEG, is compressed to the same size as AVIF, they end up with a lot of visual artefacts. More such image quality and size comparisons can be found in the blog by Netflix, and this excellent blog on AVIF by Jake Archibald.

Current drawbacks of using AVIF format

While most of the things about AVIF are very promising and it is likely to become the standard for media delivery in the future, there are some shortcomings that we should be aware of before migrating to AVIF.

A major bottleneck is the encoding performance of AVIF images, which is very slow compared to JPEG or WebP images. While user devices would have no problem decoding AVIF images for display, it can at times take over a second to encode an image to AVIF. Thankfully, as covered later, you can rely on third-party service providers like ImageKit with extensive image processing networks to provide decent AVIF encoding performance in real-time for your images. As the format evolves, the encoding performance is likely to improve.

Another drawback is the lack of progressive rendering in AVIF images. Browsers would have to download the complete picture before they can display anything on the screen. On the other hand, JPEG images can load progressively, i.e., the user will see a low-quality approximation of the image, getting the impression of a faster loading experience till the complete image is loaded. However, AVIF offers excellent compression as compared to JPEG images. So this drawback of not having progressive rendering is partly compensated by the smaller size of AVIF images.

Converting images to AVIF on supported devices

Looking at the benefits and shortcomings of the AVIF format, it makes sense to deliver AVIF images on supported devices for better visual quality and load time. But converting all of your images to AVIF or developing a solution yourself that can do it in real-time will be time-consuming. Instead, you can rely on ImageKit, an image CDN with real-time image optimizations and transformations, to deliver them in AVIF format.

With ImageKit, you have the option of either forcing the image format to AVIF or letting ImageKit decide the best possible format (AVIF, WebP, JPG, or PNG) to deliver the image.

a. Forcing the format to AVIF

ImageKit has a format parameter that allows you to force an image to any format. To convert an image to AVIF format, you can add the transformation parameter f-avif to your image URL. You can then combine this with the <picture> tag, as shown in the example below, to load AVIF images on browsers that support that format and falling back to other formats on unsupported devices. You can read more about using the <picture> tag in this guide on Flaviocopes.

<picture>	
    <source srcset="my-image.jpg?tr=f-avif" type="image/avif">	
    <source srcset="my-image.jpg?tr=f-webp" type="image/webp">	
    <img src="my-image.jpg" alt="Description of My Image">
</picture>

Example of using the picture tag to load AVIF images

b. Automatic optimization to AVIF format

ImageKit can also automatically determine the image formats supported on the requesting device and analyze the input image for its content to decide the best output image format for delivery. This technique always ensures the smallest possible output size for an image with no perceptible difference in visual quality.

For example, the following URL delivers the optimized image in AVIF format on Chrome 85+, WebP format on Firefox, and JPG format on Safari.

<img src="http://ik.imagekit.io/ikmedia/backlit.jpg?tr=w-300,h-300" alt="Image with automatic image optimization"/>

This account on ImageKit has automatic conversion to AVIF format enabled. So it delivers the image in AVIF on supported browsers

Note that with this capability of ImageKit, you do not have to change the image URL or any change to our HTML to add support for AVIF format. All you need to do is attach your existing image server or storage like AWS S3, Google Cloud Storage, Azure, etc. or upload images to ImageKit's media library and start using ImageKit for delivering images on your website.

Note: ImageKit is gradually rolling out support for automatic conversion to AVIF. Refer to this AVIF support documentation for the latest updates on the rollout.

Start converting images to AVIF now!

AVIF seems to be the answer to the requirement of a widely supported, feature-rich media format offering better compression and visual quality compared to other image formats. The browser support will only go up in the future. If you want to start delivering optimized AVIF images on your website for a faster load time and better visual experience for your users, sign up today on ImageKit. You get free 20GB bandwidth every month and will be able to automatically optimize your images to AVIF format.