Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

imager (version 0.45.8)

cimg.dimensions: Image dimensions

Description

Image dimensions

Usage

width(im)

height(im)

spectrum(im)

depth(im)

nPix(im)

Arguments

im

an image

Functions

  • width(): Width of the image (in pixels)

  • height(): Height of the image (in pixels)

  • spectrum(): Number of colour channels

  • depth(): Depth of the image/number of frames in a video

  • nPix(): Total number of pixels (prod(dim(im)))