Notes and Constraints
Operations
- All image processing operations will not change original images.
- Archive storage does not support image processing.
- Deep Archive storage does not support image processing.
- OBS buckets that use SSE-KMS do not support image processing.
- Only version 3.0 buckets support image processing. To check a bucket's version, go to the Basic Information area on the bucket's Overview page on OBS Console.
- If images allow anonymous access, they can be accessed in a web browser by image processing requests that have no signature included. A request URL example is given as follows:
https://bucketname.obs.ap-southeast-1.myhuaweicloud.com/example.jpg?x-image-process=style/stylename
For details about how to make images accessible to anonymous users, see Granting Anonymous Users the Public Read Permission for a Bucket.
If images do not allow anonymous access, the image processing requests must include a signature. To calculate a signature and construct a URL with the signature included, see Using a Pre-Signed URL.
- For security and compliance purposes, using a default bucket domain name (bucket domain name or static website domain name) to preview objects in the bucket will be prohibited by OBS. When you use such domain name to access objects (such as videos, images, and web pages) through a browser, no content will be displayed. Instead, the content is downloaded as an attachment.
For details, see How Do I Preview OBS Objects in a Browser Online?
- The maximum duration of a single image processing request is 30 seconds. Due to differences in image size, resolution, and others, certain scenarios may experience high latency, which can lead to request timeouts or failures.
Images
- Supported original image formats include JPG, JPEG, PNG, BMP, WebP, GIF, TIFF, HEIC, and AVIF.
- Supported formats after image processing include JPG, PNG, BMP, and WebP.
- An original image allowed for processing cannot exceed 25 MB in size, and its width and height after processing cannot exceed 4,096 pixels and 5,000 pixels, respectively.
- 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.
- An input image can contain 250 megapixels at most.
- Only JPG and WebP images support quality changes.
Commands
A maximum of 20 commands are allowed, with a total length of no more than 512 characters.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot