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.
27 lines
363 B
27 lines
363 B
#!/bin/sh
|
|
|
|
if [ "$help" = "1" ]
|
|
then
|
|
cat << EOF
|
|
Luma options:
|
|
|
|
--luma-compress - Produce compressed (png) lumas
|
|
--luma-8bpp - Produce 8 bit pgm lumas (defaut is 16 bit)
|
|
|
|
EOF
|
|
|
|
else
|
|
|
|
rm -f .8bit .compress .executed
|
|
|
|
for i in "$@"
|
|
do
|
|
case $i in
|
|
--luma-compress ) touch .compress ;;
|
|
--luma-8bit ) touch .8bit ;;
|
|
esac
|
|
done
|
|
|
|
fi
|
|
|