Core Parameters
Resize the image to specified dimensions using the format
WxH.Examples:resize:800x600- Resize to 800×600 pixelsresize:1920x1080- Resize to Full HD dimensionsresize:400x400- Resize to square format
Define how the image is cropped during resizing.Available modes:
fill- Fill entire area, cropping if necessary (default)fit- Fit within dimensions while preserving aspect ratioscale- Stretch to exact dimensions, ignoring aspect ratiocrop- Resize and crop to exact dimensionspad- Fit and add borders with background color
Apply a specific aspect ratio by cropping the image. Format:
W:H.Common ratios:aspect:16:9- Widescreen video formataspect:1:1- Square format (Instagram)aspect:4:3- Classic photo formataspect:21:9- Ultrawide banner format
Rotate the image by specified degrees or automatically using data.Values:
auto- Automatic rotation based on EXIF orientation0-360- Rotation angle in degrees
Define the focal point for cropping operations.Available positions:
center- Center of the image (default)north- Top edgesouth- Bottom edgeeast- Right edgewest- Left edgeface- AI-powered face detectionauto- Automatic detection of region of interest using entropy analysis
Set background color for rotation or pad crop mode.Formats:
- Hexadecimal without
#:FF0000(red),FFFFFF(white) transparent- Transparent background (PNG/WebP output)
Control compression quality level. Range: 1-100.Recommendations:
90-100- High quality, larger file size80-89- Optimal balance (recommended)60-79- Higher compression, smaller files1-59- Maximum compression, visible artifacts
Force a specific output format.Available formats:
avif- Modern format, best compression (up to 50% smaller)webp- Modern format, excellent compatibilityjpeg/jpg- Universal standard formatpng- Lossless, supports transparency
Basic Examples
- Basic Resize
- Smart Cropping
- Aspect Ratio
- Format Conversion
Advanced Examples
Instagram-optimized portrait
Instagram-optimized portrait
Responsive thumbnail with padding
Responsive thumbnail with padding
Rotated logo with transparency
Rotated logo with transparency
Web-optimized landscape photo
Web-optimized landscape photo
Supported Image Formats
- Input Formats
- Output Formats
The system accepts the following image formats as input:
- JPEG / JPG - Standard photo format
- PNG - With full transparency support
- WebP - Modern web format
- AVIF - Next-generation format
- GIF - First frame only (static output)
Best Practices
Optimize for web
Use
quality:85 with automatic format selection for the best balance of quality and file size.Leverage face detection
Apply
gravity:face for portraits and profile images to ensure faces remain in frame after cropping.Batch similar sizes
Standardize image dimensions across your application to maximize cache efficiency.
Use modern formats
Specify
format:avif or format:webp for significant file size reductions on modern browsers.