summaryrefslogtreecommitdiff
path: root/jpegtran-rotate-lossless
diff options
context:
space:
mode:
Diffstat (limited to 'jpegtran-rotate-lossless')
-rwxr-xr-xjpegtran-rotate-lossless2
1 files changed, 0 insertions, 2 deletions
diff --git a/jpegtran-rotate-lossless b/jpegtran-rotate-lossless
index 77a0949..f876e10 100755
--- a/jpegtran-rotate-lossless
+++ b/jpegtran-rotate-lossless
@@ -1,6 +1,5 @@
#!/bin/sh
-
function usage {
echo 'Usage: jpegtran-rotate-lossless.sh <90|180|270> <file>'
exit 1
@@ -20,7 +19,6 @@ case $ROTATION in
usage ;;
esac
-
jpegtran -rotate $ROTATION -trim -copy all $FILE > $FILE-rotate
if [ $? -ne 0 ]; then
echo 'jpegtran-rotate-lossless.sh: jpegtran failed'