CAI79's avatar

CAI-batch-resize

1 0 445 (1 Today)
By CAI79   |   
Published:
Batch resize script.
Both interactive and none-interactive modes available

Non-interactive mode:
run from command line: gimp -i -b '(cai-batch-resize "_Pattern_" _Width_ _Height_)' -b '(gimp-quit 0)'
Examples:
resize all png images to 128x128: gimp -i -b '(cai-batch-resize "*.png" 128 128)' -b '(gimp-quit 0)'
resize all png images to 128 by width: gimp -i -b '(cai-batch-resize "*.png" 128 0)' -b '(gimp-quit 0)'
resize all png images to 128 by height: gimp -i -b '(cai-batch-resize "*.png" 0 128)' -b '(gimp-quit 0)'

Interactive mode:
Filters/CAI/Batch resize
You can set width or height to 0 and script will calculate it new size by current proportions. Do not set both height and width to 0
Comments0
anonymous's avatar
Join the community to add your comment. Already a deviant? Log In