download_url?imageMogr2/grayscale/<value>
Parameter | Description |
download_url | URL of the input image, formatted as <BucketName-APPID>.cos.<Region>.myqcloud.com/<picture name> Example: examplebucket-1250000000.cos.ap-shanghai.myqcloud.com/picture.jpeg |
/grayscale/<value> | Whether to set an image to be a grayscale image. value being 0 indicates not to modify the image. value being 1 indicates to set the image to be a grayscale image. |
/ignore-error/1 | If this parameter is carried and the image failed to be processed because it is too large, the input image will be returned with no error reported. |
http://examples-1251000004.cos.ap-shanghai.myqcloud.com/sample.jpeg?imageMogr2/grayscale/1
Apakah halaman ini membantu?