use jpegtran to do lossless 90 rotations

This commit is contained in:
2023-11-11 21:28:04 +11:00
parent 62cfe6305e
commit 1005acb339
3 changed files with 23 additions and 11 deletions

9
utils/pa_rotate Executable file
View 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"