Image
Resize
Image Resizing Transformations
Dimensions and Scaling
Width and Height
Set specific dimensions for your image using width and height parameters:
- 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:
Device Pixel Ratio (DPR)
Adjust dimensions for high-density displays:
- Accepts values between 1.0 and 5.0
- Useful for retina displays