All Products
Search
Document Center

Edge Security Acceleration:Rotate images

Last Updated:Jun 02, 2026

Rotate an image clockwise by 90°, 180°, or 270° using the rotate parameter in an image processing URL.

Parameters

image_process=rotate.

Parameter

Accepted values

Description

rotate

90, 180, 270

Rotates the image clockwise by the specified angle. Use 90 to turn a landscape image to portrait, 180 to flip it upside down, or 270 to rotate counter-clockwise by a quarter turn.

Examples

The following examples use the image_process=rotate,{angle} parameter to rotate an image by each supported angle.

Rotate clockwise by 90°:

http(s)://example.com/image01.png?image_process=rotate,90

Rotate clockwise by 180° (upside down):

http(s)://example.com/image01.png?image_process=rotate,180

Rotate clockwise by 270° (equivalent to 90° counter-clockwise):

http(s)://example.com/image01.png?image_process=rotate,270