You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/sh |
|
|
|
usage() { |
|
echo "Usage: $0 <source> <output>" |
|
exit 1 |
|
} |
|
|
|
if [ -z "$1" -o -z "$2" ]; then |
|
usage |
|
fi |
|
|
|
pngtopnm $1 | ppmtolss16 \#cdcfd5=7 \#ffffff=1 \#000000=0 \#c90000=15 > $2
|
|
|