batch_crop(1)

batch_crop1

Crop a set of images

Usage

batch_crop left top width height image1 image2 ...

Overview

The area defined by the rectangle left, top, width, height is cropped out of each of the images and saved in a file of the same name, but prefixed by "crop_".

For example:

batch_crop 10 10 100 100 fred.jpg jim.png

will make two images, crop_fred.jpg and crop_jim.png, each of 100 by 100 pixels, taken from the corresponding input images.

Return value

returns 0 on success and non-zero on error.

Releases

9 releases since Debian 3.1 (Sarge); the text changed 1 time.

  1. 3.1–7
  2. 8–11

From libvips-tools 8.10.5-2 in Debian 11 (Bullseye). Parsed by carta from the page's man source.