Documentation Index
Fetch the complete documentation index at: https://autorender.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Overview
AutoRender’s rotation feature allows you to rotate images by any angle in degrees. Rotation is useful for correcting image orientation, creating artistic effects, or adjusting subject angles for better presentation.Rotate Parameter - (r)
The rotation parameter allows you to rotate an image around its center point. The value is specified in degrees.Rotation values are normalized to a 0-360 degree range. Positive values rotate clockwise, and negative values rotate counter-clockwise.
- Original (r_0)
- Rotate 90°
- Rotate 180°
- Rotate 270°

Common Rotation Angles
| Angle | Description |
|---|---|
90 | Quarter turn clockwise (Portrait to Landscape) |
180 | Half turn (Upside down) |
270 | Three-quarter turn clockwise |
auto | Automatically correct orientation based on EXIF data |
portrait | Automatically rotate to vertical orientation |
landscape | Automatically rotate to horizontal orientation |
Automatic Orientation - (r_portrait, r_landscape)
AutoRender can intelligently rotate images to a specific orientation, regardless of how they were originally captured. This is extremely useful for ensuring consistency in galleries or product grids.- Original
- Force Portrait (r_portrait)
- Force Landscape (r_landscape)

Automatic orientation (
r_portrait or r_landscape) analyzes the image dimensions and applies the necessary rotation (90°, 270°, or 0°) to achieve the requested layout while preserving the original aspect ratio.Best Practices
- Rotate First: For predictable results, apply rotation before complex cropping or layering.
- Transparency: AutoRender preserves transparency when rotating images that support it (e.g., PNG, WebP).
- Exact Dimensions: If you need exact output dimensions after rotation, combine
r_withc_croporc_fill. - Normalization: Don’t worry about large values;
r_450is automatically treated asr_90. - Performance: Rotation is processed server-side alongside other transformations for maximum performance.




