Apexx Cloud home page
Search...
⌘K
Support
Dashboard
Dashboard
Search...
Navigation
Documentation
API Reference
Community
Get Started
Introduction
Quickstart
SDKs
Backend
Frontend
Transformations
Image
Introduction
Resize
Crop
Effects
Overlays
Optimization
Video
Document
Integrations and Migrations
Connect Your Existing Storage
Security and private files
On this page
Image Resizing Transformations
Dimensions and Scaling
Width and Height
Advanced Scaling Options
Aspect Ratio
Device Pixel Ratio (DPR)
Image
Resize
Image Resizing Transformations
Dimensions and Scaling
Width and Height
Set specific dimensions for your image using width and height parameters:
Copy
tr-w_300,h_200
Width
:
w_{pixels}
- Sets image width in pixels
Height
:
h_{pixels}
- Sets image height in pixels
Advanced Scaling Options
Aspect Ratio
Maintain a specific aspect ratio while resizing:
Copy
tr-ar_1.5
Device Pixel Ratio (DPR)
Adjust dimensions for high-density displays:
Copy
tr-dpr_2
Accepts values between 1.0 and 5.0
Useful for retina displays
Introduction
Crop
Assistant
Responses are generated using AI and may contain mistakes.