]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/cortex-strings/scripts/trim.sh
Add 'contrib/unifdef/' from commit '0da44885831dc0a43c4ca6ff04a2430993cc0a80'
[FreeBSD/FreeBSD.git] / contrib / cortex-strings / scripts / trim.sh
1 #!/bin/bash
2 #
3 # Trims the whitespace from around any given images
4 #
5
6 for i in $@; do
7     convert $i -bordercolor white -border 1x1 -trim +repage -alpha off +dither -colors 32 PNG8:next-$i
8     mv next-$i $i
9 done