0040-00000007

Updated at:

Problem description

An error occurs when you resize an image.

Causes

The resolution of the destination image exceeds the upper limit.

Examples

GET /example_image?x-oss-process=image/resize,m_fixed,w_5000,h_5000 HTTP/1.1
Host: oss-example.oss-cn-hangzhou.aliyuncs.com
Date: Fri, 03 Feb 2023 03:41:49 GMT
Content-Type: application/xml

The resolution of the destination image is 5,000 × 5,000 pixels, which exceeds the limit.

Solutions

Resize the image to ensure that the resolution of the destination image does not exceed the limit.

For resizing limits, see Usage notes.

Note

The resolution of an image can be up to 4,096 × 4,096 pixels.

References

Resize images