| cimg.dimensions | R Documentation |
Image dimensions
width(im)
height(im)
spectrum(im)
depth(im)
nPix(im)
im |
an image |
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)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.