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

« back to all changes in this revision

Viewing changes to scripts/trim.sh

  • Committer: Matthew Gretton-Dann
  • Date: 2013-01-07 16:59:29 UTC
  • mfrom: (96.1.3 aarch64-additions-2)
  • Revision ID: matthew.gretton-dann@linaro.org-20130107165929-2p27azr2amdypgnn
Merge further AArch64 optimised routines.

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