Constraints

Limitation on Operations

  • Any operation of Image Processing will not change the original image.
  • Archive storage does not support Image Processing.
  • Deep Archive storage does not support Image Processing.
  • Currently, only buckets of version 3.0 support image processing. To view the version of a bucket, click the Summary tab of the bucket on OBS Console. The bucket version is displayed in the Basic Information area.
  • If an image is set to be accessible by anonymous users, the image can be accessed directly through a web browser and signature is not required in image processing requests. Example:

    https://bucketname.obs.cn-north-4.myhuaweicloud.com/example.jpg?x-image-process=style/stylename

Limitation on Images

  • Supported original formats: JPG, JPEG, PNG, BMP, WebP, GIF, and TIFF.
  • Supported target formats: JPG, PNG, BMP, and WebP.
  • The supported maximum size of an image is 25 MB, with maximum width of 4096 px and height of 5000 px after processing.
  • If a GIF image is greater than 2 MB or has over 50 frames, the image will be returned without processing.
  • Images in CMYK color mode are not supported.

Limitation on Commands

Commands are not allowed to have more than 512 characters, and the maximum number of commands is 20.