Rotates the image before resizing and cropping.
The orient transformation allows you to rotate the image before any resizing or cropping operations are applied.
Pass the following query param to the API endpoint:
orient=angle
Where:
angle
is the rotation angle in degrees.For example: orient=90
angle
: The angle of rotation. This parameter accepts the following values:
This transformation is particularly useful when you need to adjust the orientation of images before applying other transformations.
URL : https://www.thunderimage.com/sample/yosemite.jpg
URL: /transform?url=https://www.thunderimage.com/sample/yosemite.jpg&orient=90
URL: /transform?url=https://www.thunderimage.com/sample/yosemite.jpg&orient=180
The orient transformation is applied before any resizing or cropping operations. If you need to rotate the image after other transformations, consider using the rotate
transformation instead.
API key required for authentication
The URL of the image to be transformed.
"https://www.thunderimage.com/sample/yosemite.jpg"
The angle of rotation to be applied to the image before resizing and cropping.
0
, 90
, 180
, 270
90
The transformed image with orientation applied.
The transformed image in JPEG format.
Rotates the image before resizing and cropping.
The orient transformation allows you to rotate the image before any resizing or cropping operations are applied.
Pass the following query param to the API endpoint:
orient=angle
Where:
angle
is the rotation angle in degrees.For example: orient=90
angle
: The angle of rotation. This parameter accepts the following values:
This transformation is particularly useful when you need to adjust the orientation of images before applying other transformations.
URL : https://www.thunderimage.com/sample/yosemite.jpg
URL: /transform?url=https://www.thunderimage.com/sample/yosemite.jpg&orient=90
URL: /transform?url=https://www.thunderimage.com/sample/yosemite.jpg&orient=180
The orient transformation is applied before any resizing or cropping operations. If you need to rotate the image after other transformations, consider using the rotate
transformation instead.
API key required for authentication
The URL of the image to be transformed.
"https://www.thunderimage.com/sample/yosemite.jpg"
The angle of rotation to be applied to the image before resizing and cropping.
0
, 90
, 180
, 270
90
The transformed image with orientation applied.
The transformed image in JPEG format.