BATCH_CROP(1)
β¨ 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
- ubuntu jammy: libvips-tools 8.12.1-1build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms