use jpegtran to do lossless 90 rotations
This commit is contained in:
9
utils/pa_rotate
Executable file
9
utils/pa_rotate
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "start"
|
||||
b=`basename $1`
|
||||
echo "b=$b"
|
||||
mv $1 /tmp/$b
|
||||
echo "mv $1 to /tmp/$b"
|
||||
jpegtran -outfile $1 -rotate $2 /tmp/$b
|
||||
echo "done jpegtran"
|
||||
Reference in New Issue
Block a user