BATCH_RUBBER_SHEET(1)
π BATCH_RUBBER_SHEET π
okay so bestie, this is batch_rubber_sheet, from the General Commands Manual section 1 (that's user commands, iykyk) π and it's literally here to warp a set of images with a rubber-sheet transformation. slay.
β¨ SYNOPSIS β¨
batch_rubber_sheet matrix image1 image2 ...
π¦ DESCRIPTION π¦
ok so the tea is: the first argument is a file that contains the transformation β that's your matrix, the blueprint, the main character π«Ά. Everything after it? Those are your image files that you wanna transform. Give it as many as you want, it's not gonna complain.
The transformed image doesn't overwrite anything (iconic behaviour honestly). Instead it gets written to a new file, named exactly like the old file but with "rsc_" prepended to the file name. so fred.jpg walks in, rsc_fred.jpg walks out π
For example:
batch_rubber_sheet lens.mat fred.jpg jim.png
will read a transform from the file lens.mat and apply it to fred.jpg and jim.png, writing files rsc_fred.jpg and rsc_jim.png. no cap, that's the whole thing. πΈ
π₯ RETURN VALUE π₯
- returns
0on success π - returns non-zero on error π
so like, check that exit status, bestie. zero is the vibe, anything else means something went sideways π
π SEE ALSO π
The "Image=>Rubber" menu in nip. go check it out, it's giving the same energy but with a GUI β¨
made with love, warping images since forever π§π
this page is from the General Commands Manual, dated 2 Feb 2002, and it's page BATCH_RUBBER_SHEET(1) β periodt. π
π¦ 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