~linaro-toolchain-dev/cortex-strings/trunk

« back to all changes in this revision

Viewing changes to scripts/trim.sh

  • Committer: Michael Hope
  • Date: 2010-09-13 08:30:44 UTC
  • mfrom: (14.1.1 cortex-strings)
  • Revision ID: michael.hope@linaro.org-20100913083044-0rr37rigcpd0gg7q
Added autogen.sh.  Tidied up the NEON configure rules using AM_CONDITIONAL.  Made make distcheck pass.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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