Updated on 2024-02-29 GMT+08:00

Constraints

Operations

  • All image processing operations will not change original images.
  • Cold storage does not support image processing.
  • OBS buckets that use SSE-KMS do not support image processing.
  • Currently, only buckets of version 3.0 support image processing. To check a bucket's version, go to the Basic Information area on the bucket's Overview page.
  • 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.region.example.com/example.jpg?x-image-process=style/stylename

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.
  • An animated image (like a GIF or WebP image) will be returned without processing if it is greater than 2 MB in size or has over 50 frames.
  • Currently, processing images in CMYK may change their color.

Commands

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