0040-00000013
Updated at:
Problem description
HEIC image processing (IMG) fails with a decoding error when the source image side length exceeds 30,000 pixels.
Causes
OSS image processing enforces a maximum side length of 30,000 pixels for HEIC source images. If the width or height of the source image exceeds this limit, the decoding fails.
Examples
The following request triggers the error because the HEIC image referenced by example_image has a side length greater than 30,000 pixels:
GET /example_image?x-oss-process=image/format,jpg HTTP/1.1
Host: oss-example.oss-cn-hangzhou.aliyuncs.com
Date: Fri, 03 Feb 2023 03:41:49 GMT
Content-Type: application/xmlSolutions
Use a HEIC source image whose width and height are both within 30,000 pixels.
For the full list of source image requirements for OSS image processing, see Overview.
References
Is this page helpful?