0040-00000248

Updated at:

Problem description

An invalid value is specified for the contrast parameter in a legacy image processing request.

Problem cause

The value of the contrast parameter is outside the valid range.

Examples

GET /example_image@200d HTTP/1.1
Host: oss-example.oss-cn-hangzhou.aliyuncs.com
Date: Fri, 03 Feb 2023 03:41:49 GMT
Content-Type: application/xml

In the request, the value 200 for the `contrast` parameter `d` is invalid, which causes the error.

Solutions

GET /example_image@50d HTTP/1.1
Host: oss-example.oss-cn-hangzhou.aliyuncs.com
Date: Fri, 03 Feb 2023 03:41:49 GMT
Content-Type: image/jpeg

Specify a valid value for the `contrast` parameter `d` in the request string.

For more information about the valid value range of the `contrast` parameter `d`, see Brightness and contrast.

References

Brightness and contrast