tencent cloud

All product documents
Cloud Object Storage
Image Advanced Compression
Last updated: 2024-02-02 16:51:03
Image Advanced Compression
Last updated: 2024-02-02 16:51:03

Overview

This document provides an overview of APIs and SDK code samples related to Image Advanced Compression.
API
Description
Image Advanced Compression 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 parameters for image compression. For more information, please see the API description of CI.
String compress = "imageMogr2/format/tpg";
getObj.putCustomQueryParameter(compress, null);
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon