WLJS LogoWLJS Notebook

ImageCrop

ImageCrop[image] crops image by removing borders of uniform color.

ImageCrop[image, size] crops image to the specified size.

Examples

Automatic crop:

img = ExampleData[{"TestImage", "Lena"}];
ImageCrop[img]

Crop to specific size:

ImageCrop[img, {200, 200}]

Please visit the official Wolfram Language Reference for more details.

On this page