diff options
Diffstat (limited to 'experiments/crop-melon')
-rwxr-xr-x | experiments/crop-melon | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/experiments/crop-melon b/experiments/crop-melon new file mode 100755 index 0000000..5beb634 --- /dev/null +++ b/experiments/crop-melon @@ -0,0 +1,10 @@ +#!/bin/sh +input_file="$1" +output_base="${input_file%.*}-crop.png" +magick "$input_file" \ + -gravity North -chop 0x20 \ + -crop 256x192 \ + "$output_base" + + + |