ImageDimensions

ImageDimensions[image]

gives the pixel dimensions of an Image or Image3D object image.

Details

Examples

open allclose all

Basic Examples  (2)

Width and height of an image:

Width, depth, and height of a 3D image:

Properties & Relations  (3)

ImageDimensions returns width and height:

Dimensions on image data returns rows and columns, and therefore reverses the result:

ImageDimensions returns width and height:

For multichannel images, Dimensions of image data also returns the number of channels:

ImageDimensions for a 3D image returns width, depth and height:

Dimensions on image data returns slices, rows and columns, and therefore reverses the result:

Possible Issues  (1)

Image dimensions are not affected by the displayed size:

Wolfram Research (2008), ImageDimensions, Wolfram Language function, https://reference.wolfram.com/language/ref/ImageDimensions.html (updated 2012).

Text

Wolfram Research (2008), ImageDimensions, Wolfram Language function, https://reference.wolfram.com/language/ref/ImageDimensions.html (updated 2012).

BibTeX

@misc{reference.wolfram_2021_imagedimensions, author="Wolfram Research", title="{ImageDimensions}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ref/ImageDimensions.html}", note=[Accessed: 27-September-2021 ]}

BibLaTeX

@online{reference.wolfram_2021_imagedimensions, organization={Wolfram Research}, title={ImageDimensions}, year={2012}, url={https://reference.wolfram.com/language/ref/ImageDimensions.html}, note=[Accessed: 27-September-2021 ]}

CMS

Wolfram Language. 2008. "ImageDimensions." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2012. https://reference.wolfram.com/language/ref/ImageDimensions.html.

APA

Wolfram Language. (2008). ImageDimensions. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ImageDimensions.html