ImageAspectRatio[image]
gives the ratio of height to width for image.
ImageAspectRatio[video]
gives the aspect ratio of video frames.


ImageAspectRatio
ImageAspectRatio[image]
gives the ratio of height to width for image.
ImageAspectRatio[video]
gives the aspect ratio of video frames.
Details

- ImageAspectRatio works with Image3D objects and returns the ratio of height to width of slices.
Tech Notes
Related Guides
History
Introduced in 2010 (8.0) | Updated in 2012 (9.0) ▪ 2021 (13.0)
Text
Wolfram Research (2010), ImageAspectRatio, Wolfram Language function, https://reference.wolfram.com/language/ref/ImageAspectRatio.html (updated 2021).
CMS
Wolfram Language. 2010. "ImageAspectRatio." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2021. https://reference.wolfram.com/language/ref/ImageAspectRatio.html.
APA
Wolfram Language. (2010). ImageAspectRatio. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ImageAspectRatio.html
BibTeX
@misc{reference.wolfram_2025_imageaspectratio, author="Wolfram Research", title="{ImageAspectRatio}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/ImageAspectRatio.html}", note=[Accessed: 14-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_imageaspectratio, organization={Wolfram Research}, title={ImageAspectRatio}, year={2021}, url={https://reference.wolfram.com/language/ref/ImageAspectRatio.html}, note=[Accessed: 14-August-2025]}