BATCH_CROP(1)

πŸ“¦ version 8.12.1, in ubuntu jammy

✨ NAME ✨

batch_crop β€” crop a whole lil squad of images at once πŸ’–


🌸 SYNOPSIS 🌸

batch_crop left top width height image1 image2 ...

πŸŽ€ DESCRIPTION πŸŽ€

okay so bestie, picture a rectangle. it's got a left, a top, a width, and a height. that exact rectangle gets cropped out of every single one of the images you hand over, and then it gets saved into a file with the same name as the original… except it's got crop_ slapped on the front. iconic behavior, honestly. πŸ’…

for example:

batch_crop 10 10 100 100 fred.jpg jim.png

this makes two images β€” crop_fred.jpg and crop_jim.png β€” and each one is exactly 100 by 100 pixels, taken straight out of the matching input image. no cap. πŸ”₯


πŸ’œ RETURN VALUE πŸ’œ

returns 0 when it slays (success) and non-zero when it does not (error). periodt.


πŸ¦‹ SEE ALSO πŸ¦‹

  • vipsheader(1)
  • im_vips2tiff(3)
  • im_vips2jpeg(3)
  • im_vips2png(3)
  • im_vips2ppm(3)

mwah πŸ’‹ this lil page came from the General Commands Manual and it's giving vintage β€” dated way back on 2 Feb 2002, under the name BATCH_CROP(1). a whole elder icon fr fr πŸ‘‘βœ¨

πŸ“¦ where this page comes from