ImageResize

ImageResize[image,width]

gives a resized version of image that is width pixels wide.

ImageResize[image,{s}]

gives a resized version of image with a maximum pixel width or height given by s.

ImageResize[image,{width,height}]

gives a resized version of image that has exactly the specified pixel width and height.

ImageResize[image,{width,depth,height}]

gives a resized version of a 3D image with the specified dimensions.

Details and Options

Examples

open allclose all

Basic Examples  (1)

Resize an image to be 100 pixels wide:

In[1]:=
Click for copyable input
Out[1]=

Scope  (3)

Options  (1)

See Also

Thumbnail  ImageRotate  ImageCrop  ImageTake  ImagePad  ImageDimensions  ImageSize  SpatialTransformationLayer

Tutorials

Introduced in 2008
(7.0)
| Updated in 2014
(10.0)