All Products
Search
Document Center

Object Storage Service:0040-00000007

Last Updated:Jul 21, 2023

Problem description

An error is reported for the request to resize an image.

Causes

The size of the destination image exceeds the 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 based on the requirements. Make sure that the resolution of the destination image is within the limit.

For more information about the limits for resizing, see Usage notes.

Note

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

References

Resize images