tencent cloud

Feedback

Image Advanced Compression

Last updated: 2022-08-09 15:09:40

    Overview

    This document provides an overview of APIs and SDK code samples for image advanced compression.

    API Description
    Image advanced compression 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);
    
    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