0040-00000010

Updated at:

Problem description

The source WebP image could not be decoded during image processing.

Problem causes

  • The source WebP image is corrupted.

  • The source image is an animated WebP, but decoding for this format is not enabled in the whitelist.

Problem example

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/xml

The source WebP image could not be decoded during image processing.

Solutions

  • If the source WebP image is corrupted, replace the image and try again.

  • You can use the ImageMagick tool to diagnose the source image. If the image is an animated WebP and decoding for this format is not enabled, submit a ticket to have animated WebP decoding added to the whitelist.

    References

  • Introduction

  • Limits