Skip to main content

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 provides powerful cropping capabilities that allow you to extract specific regions from images, control how images fit target dimensions, and use intelligent positioning to find the best crop area. Cropping is essential when you need exact dimensions or want to focus on specific parts of an image.

Crop Modes - (c)

AutoRender supports multiple crop modes that control how images are resized and cropped to fit target dimensions. Each mode has different behavior regarding aspect ratio preservation and content visibility.
The c_ parameter determines how the image should be resized and cropped to fit the target dimensions specified by w_ and h_.
https://assets.autorender.io/LOKVTtKVGb/doc1/ar-juice.jpg
Original image

Crop Position - (p)

Control where the crop area is positioned. Position determines which part of the image is included in the final output.
Position CodeDescription
p_cCenter
p_tTop center
p_bBottom center
p_tlTop-left
p_trTop-right
p_blBottom-left
p_brBottom-right
https://assets.autorender.io/LOKVTtKVGb/w_360,h_360,c_crop,p_t/doc1/ar-juice.jpg
Top crop

Advanced Position Strategies

AutoRender supports intelligent position detection that automatically finds the focal point based on image content analysis.
StrategyDescription
p_entropyCenters on the most information-rich area
p_attentionCenters on the area that draws the most attention
Position strategies (p_entropy, p_attention) use advanced image analysis algorithms. These are particularly useful when you need to generate focus-aware thumbnails automatically.

Face Detection Cropping - (fo_face)

AutoRender can automatically detect and focus on faces within an image. This is ideal for creating consistent avatars, social media profiles, or portrait-focused content.
https://assets.autorender.io/LOKVTtKVGb/doc1/face-crop.jpg
Original face image

Object Detection Cropping - (fo_<object>)

AutoRender allows for highly specific focus-aware cropping by centering on specific objects within an image. This is powered by advanced detection models that recognize common categories.
Object detection (fo_<object>) supports standard YOLO model classes (e.g., car, dog, person, cat).
https://assets.autorender.io/LOKVTtKVGb/doc1/blackporsche.jpg
Original car image