ImageDimensions[image]
gives the pixel dimensions of an Image or Image3D object image.
ImageDimensions[video]
gives the pixel dimensions of the first video track of the Video object video.


ImageDimensions
ImageDimensions[image]
gives the pixel dimensions of an Image or Image3D object image.
ImageDimensions[video]
gives the pixel dimensions of the first video track of the Video object video.
Details

- ImageDimensions gives the result in the following form:
-
{w,h} width and height of an Image or frames of a Video object {w,d,h} width, depth, and height of an Image3D object - Results from ImageDimensions are not affected by settings for Interleaving or ImageSize in Image.
Examples
open all close allBasic Examples (3)
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:
See Also
Information ImageAspectRatio ImageChannels ImageData Image Interleaving Dimensions ImageSize
Function Repository: ImageSquareQ
Tech Notes
Related Guides
Related Workflows
- Make a Notebook-Width Image
History
Introduced in 2008 (7.0) | Updated in 2012 (9.0) ▪ 2021 (13.0)
Text
Wolfram Research (2008), ImageDimensions, Wolfram Language function, https://reference.wolfram.com/language/ref/ImageDimensions.html (updated 2021).
CMS
Wolfram Language. 2008. "ImageDimensions." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2021. 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
BibTeX
@misc{reference.wolfram_2025_imagedimensions, author="Wolfram Research", title="{ImageDimensions}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/ImageDimensions.html}", note=[Accessed: 08-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_imagedimensions, organization={Wolfram Research}, title={ImageDimensions}, year={2021}, url={https://reference.wolfram.com/language/ref/ImageDimensions.html}, note=[Accessed: 08-August-2025]}