- 2070 Asar · 4 marks
Resize image keeping aspect ratio
Short answer
Aspect ratio 1024:768 = 4:3. New height = 640 × (768/1024) = 480 pixels. Resized image is 640×480.
If we want to resize a 1024×768 image to one that is 640 pixels wide with the same aspect ratio, what would be the height of the resized image?
Keeping the aspect ratio means width : height stays the same.
Aspect ratio = 1024 / 768 = 4 : 3
new height / new width = 768 / 1024
new height = 640 × 768 / 1024
= 640 × 0.75 = 480
Answer: the resized image is 640 × 480, so the height is 480 pixels.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Time to scan one row of pixels · Computer Graphics, chapter 1
- Short note: Resolution and aspect ratio · Computer Graphics, chapter 1
- Mesh quality: skewness, aspect ratio, orthogonality · Applied Computational Fluid Dynamics, chapter 4
- Skewness and aspect ratio of cells · Applied Computational Fluid Dynamics, chapter 4
- T/F: tower height same for single/double circuit · Transmission and Distribution System Design, chapter 4
- Roughness height from velocity ratio · Hydraulics, chapter 1