tencent cloud

Cloud Infinite

Image Advanced Compression

Download
포커스 모드
폰트 크기
마지막 업데이트 시간: 2024-02-29 17:31:27

Overview

This document provides an overview of APIs and SDK code samples for image advanced compression.
API
Description
The image advanced compression feature allows you to easily convert images into formats that provide a high compression ratio, such as TPG and HEIF. This effectively reduces the transmission time, loading time, and the use of bandwidth and traffic.


Sample code

GetObjectRequest getObj = new GetObjectRequest(bucketName, key);
// The following are sample parameters for image compression. For more information, see CI's API documentation.
String compress = "imageMogr2/format/tpg";
getObj.putCustomQueryParameter(compress, null);

도움말 및 지원

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

피드백