Alibaba Cloud CDN supports automatic image rotation and manual image rotation. You can rotate images to change the orientation or angle.
The image editing feature of Alibaba Cloud CDN, the image editing feature of DCDN, and the Image Processing (IMG) feature of Object Storage Service (OSS) are three different features.
Image editing is free of charge until further notice.
When you use the image editing feature, conversion between different image formats, such as JPEG to WebP, JPEG to PNG, and PNG to WebP, may result in larger image sizes. This is because different image formats use different compression algorithms. If you want to reduce image sizes, we recommend that you configure the
quality
parameter to reduce the image quality.
Automatic rotation
Images that are taken by some cameras carry the orientation property. Automatic rotation applies only to images that contain the orientation property. After you enable the automatic rotation feature, Alibaba Cloud CDN automatically rotates images. For more information, see Enable and use image editing.
Action: auto-orient
Example
example.com/image01.png?image_process=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
.