Obtaining the Image Average Hue

Last updated: 2020-06-11 16:38:06

    Feature

    This API imageAve from Tencent Cloud CI is used to obtain the average hue information about an image in COS. Currently, supported images are smaller than 20 MB in size and smaller than 9,999 pixels in length and width.

    Image processing is a paid service, the fees of which are charged by Cloud Infinite. For detailed billing instructions, see Cloud Infinite’s [Billing and Pricing] (https://intl.cloud.tencent.com/document/product/1045/33431).

    API Form

    download_url?imageAve                       

    Parameter Description

    Operation name: imageAve.

    Parameter Description
    download_url URL that is used to access a file. Format: <BucketName-APPID>.cos.<picture region>.<domain>.com/<picture name>,
    for example, examplebucket-1250000000.cos.ap-shanghai.myqcloud.com/picture.jpeg.

    Examples

    Request

    http://examples-1251000004.cos.ap-shanghai.myqcloud.com/sample.jpeg?imageAve

    Response

    {"RGB": "0x736246"}

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help