Skip to content

ImageAspectRatio

Ratio of image height to width as an exact rational.

$ wo 'ImageAspectRatio[Image[{{0, 1}, {1, 0}}]]'
1