tencent cloud

Cloud Infinite

Release Notes and Announcements
Release Notes
Announcements
Product Introduction
Product Overview
Product Strengths
Use Cases
Feature Overview
Regions and Domains
Specifications and Limits
Billing
Billing Overview
Billing Mode
Billable Items
Free Tier
Payment Overdue
Viewing Bill Details
FAQs
Getting Started
Registering and Logging In
Bind Bucket
Uploading and Processing File
Downloading and Deleting Images
Unbinding Buckets
Using CI via COS
Features
Image Processing
Media Processing
Content Moderation
AI Content Recognition
File Processing
Smart Voice
File processing
User Guide
Overview
Bucket Management
Smart Toolbox
Job and Workflow
Data Monitoring
Usage statistics
Use Cases
Copyright Protection Solutions
Image Processing Practices
Working with API Authorization Policies
Workflow Practices
API Documentation
API Overview
Structure
Common Request Headers
Common Response Headers
Activate Vast Service
Image Processing
AI-Based Content Recognition
Smart Audio
Media Processing
Content Moderation
Document Processing
File Processing
Job and Workflow
Cloud Virus Detection
Error Codes
Request Signature
SDK Documentation
SDK Overview
Android SDK
iOS SDK
COS Android SDK
C SDK
C++ SDK
.NET(C#) SDK
Go SDK
COS iOS SDK
Java SDK
JavaScript SDK
Node.js SDK
PHP SDK
Python SDK
Mini Program SDK
Personal Information Protection Policy for SDK
Security and Compliance
Permission ‍Management
FAQs
Basic Settings
Document Processing
Media Processing
Content Recognition
Smart Audio
Agreements
Service Level Agreement
Contact Us
Glossary

Advanced Image Compression

PDF
포커스 모드
폰트 크기
마지막 업데이트 시간: 2025-12-25 10:11:53

Product Introduction

Cloud Infinite provides the advanced image compression feature, which can convert images into highly efficient formats such as AVIF, HEIF, or TPG. This effectively reduces latency in image transmission and loading time, while lowering bandwidth and traffic costs.
Function
Introduction
AVIF compression
It can convert images to the AVIF format. AVIF is a new image format based on AV1, first made public by Netflix in February 2020. It is currently supported by browsers such as Chrome and Firefox. Native support for AVIF is now available on iOS 16 or later and Android 12 or later systems.
HEIF compression
Images can be converted to the HEIF format, which features ultra-high compression rates. At the same image quality, it reduces image size by over 80% compared to JPG. iOS has adopted HEIF as the default format for albums, and Android P natively supports HEIF.
TPG compression
TPG is a self-developed image format introduced by Tencent. It can convert images in formats such as JPG, PNG, and WebP to TPG format, significantly reducing image size.
ASTC compression
ASTC is a texture compression format specifically designed for GPU rendering, suitable for graphics rendering scenarios on mobile devices such as mobile gaming and 3D graphics.
Note:
For billing and usage restrictions of advanced image compression, see Image Processing fees and usage restrictions.
To help you quickly integrate and use images in advanced compression formats, Cloud Infinite provides decoder SDKs for end devices for AVIF and TPG:
Decoder for the AVIF end device SDK: iOS, Android.
Decoder for the TPG end device SDK: iOS, Android, Windows.

Feature Experience

You can experience the advanced image compression feature online. Click to go to Cloud Infinite compression experience.

Applicable Scenarios

The advanced image compression feature meets multi-terminal image compression requirements for PC, App, and so on. It is suitable for business scenarios such as e-commerce and media, effectively reducing latency in image transmission and loading time, and lowering bandwidth and traffic costs.
Different compression features have varying compatibility with existing image formats, browser environments, and so on. Refer to the table below for details.
Function
Browsers and Systems Supporting Preview
Compatibility
Compression Effect
Compression Speed
Supported Formats
AVIF compression
Supports Firefox, Chrome, Android, and most other browsers.
Supports iOS 16 and later, and Android 12 and later.
Supports WeChat Mini Programs.
strong
Extremely strong
Fast
Supports converting images in jpg, png, bmp, tiff, gif, and webp formats to specified advanced compression formats, and also supports mutual conversion between advanced compression formats.
HEIF compression
Not supported in browsers; natively supported on iOS 11 and later and Android P.
Weak
strong
Fast
TPG compression
Supports Android version, Windows version of QQ Browser, and Android version of WeChat Mini Program platform.
Weak
strong
Fast
ASTC compression
Direct preview is not supported.
Weak
Medium
Fast

Prerequisites

You have activated the COS service, created a Bucket, and uploaded files to the Bucket. For specific operations, see Bucket Files.
You have activated the Cloud Infinite service and bound a Bucket. For specific operations, see Bucket Binding.

Usage

Cloud Infinite provides the following methods for configuring and managing basic image services:
API: Tencent Cloud provides API interfaces to facilitate your configuration of the image advanced compression service. See Image Advanced Compression API.
SDK: You can also use SDK for configuring and managing the advanced image compression capability.
Console: Log in to the CI console to manage advanced image compression. See Console Operations.

Compression Example

Convert the original image in png format to jpeg, webp, heif, tpg, avif formats. The original image URL is https://ci-h5-demo-1258125638.cos.ap-chengdu.tencentcos.cn/test-png.png, and the effect is as follows:




Example

Final URL of the request:
Compression Ratio Comparison of Different Image Compression Methods
Format
Size
png (original image)
465 KB
jpeg
96KB (reduced by 79.3%)
webp
64 KB (reduced by 86.2%)
heif
54 KB (reduced by 88.4%)
tpg
56 KB (reduced by 88.0%)
avif
32 KB (reduced by 93.1%)
astc
283 KB (reduced by 39.1%)

도움말 및 지원

문제 해결에 도움이 되었나요?

피드백