All Products
Search
Document Center

Edge Security Acceleration:Rotate images

Last Updated:May 24, 2024

Alibaba Cloud CDN supports automatic image rotation and manual image rotation. You can rotate images to change the orientation or angle.

Note
  • The image editing feature of Alibaba Cloud CDN, the image editing feature of Dynamic Content Delivery Network (DCDN), and the Image Processing (IMG) feature of Object Storage Service (OSS) are three different features.

  • Image editing is a paid service. It is free of charge until further notice.

  • The image processing feature is in private review. To use this feature, submit a ticket.

Automatic rotation

Images taken by some cameras carry the orientation property. Automatic rotation is applicable to only images that carry the orientation property. After you enable the automatic rotation feature, DCDN automatically rotates these images to a proper orientation. You can enable automatic rotation by following instructions on Enable image processing.

Important After you enable automatic conversion to WebP, the cache hit ratio decreases. It automatically increases after a short period of time. Do not enable this feature during peak hours.

Action: auto-orient

Example

image_01=auto-orient

Image rotating parameters

Parameters

Images can be rotated to a specific angle clockwise. Supported angles are 90°, 180°, and 270°.

Set the action to rotate.

Example

Rotate the source image 180° clockwise. The request URL is http(s)://example.com/image01.png?image_process=rotate,180.