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.
Examples
ImageDimensions[ExampleData[{"TestImage", "Lena"}]]
(* {512, 512} *)Please visit the official Wolfram Language Reference for more details.