mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-07 00:50:50 +00:00
09a53ad8f1
Sponsored by: The FreeBSD Foundation
10 lines
211 B
Bash
Executable file
10 lines
211 B
Bash
Executable file
#!/bin/bash
|
|
#
|
|
# Trims the whitespace from around any given images
|
|
#
|
|
|
|
for i in $@; do
|
|
convert $i -bordercolor white -border 1x1 -trim +repage -alpha off +dither -colors 32 PNG8:next-$i
|
|
mv next-$i $i
|
|
done
|