Setting Image Advanced Compression

Last updated: 2021-04-28 16:00:41

    Overview

    COS’s CI-based 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.

    Note:

    • You can use Image Advanced Compression to convert JPG, PNG, GIF, or WebP images into TPG or HEIF.
    • To use the TPG format, ensure that the environment where images are loaded supports TPG decoding. CI provides TPG decoder−integrated SDKs for iOS, Android, and Windows clients to facilitate quick integration with TPG.
    • Currently, iOS 11 or later and Android P have native support for the HEIF format.
    • Image Advanced Compression is charged by CI. For detailed pricing, please see Billing and Pricing.

    Directions

    1. Log in to the COS console, click Bucket List, and click the desired bucket for which you want to enable Image Advanced Compression.
    2. Click Data Processing > Image Processing and then find the Image Advanced Compression configuration item.
    3. Click Edit and enable it. Then, click Save.
    4. Once Image Advanced Compression is enabled, you can call the Image Advanced Compression API to convert images in the bucket into TPG/HEIF upon the download.