diff options
Diffstat (limited to 'offsetProject/bin')
| -rw-r--r-- | offsetProject/bin/data/library.zip | bin | 0 -> 31042897 bytes | |||
| -rwxr-xr-x | offsetProject/bin/data/process_pics | 17 |
2 files changed, 17 insertions, 0 deletions
diff --git a/offsetProject/bin/data/library.zip b/offsetProject/bin/data/library.zip Binary files differnew file mode 100644 index 0000000..eed6290 --- /dev/null +++ b/offsetProject/bin/data/library.zip diff --git a/offsetProject/bin/data/process_pics b/offsetProject/bin/data/process_pics new file mode 100755 index 0000000..1bbe621 --- /dev/null +++ b/offsetProject/bin/data/process_pics @@ -0,0 +1,17 @@ +#!/bin/bash +num=0 +mkdir 256 +#mkdir 128 +#mkdir 64 +#mkdir 32 +for source in $*; +do + #echo $source + file=$(printf "%010d.png" ${num}) + #echo $file + ffmpeg -i "$source" -s 256x256 "256/$file" + #ffmpeg -i "256/$file" -s 128x128 "128/$file" + #ffmpeg -i "128/$file" -s 64x64 "64/$file" + #ffmpeg -i "64/$file" -s 32x32 "32/$file" + let num=num+1 +done
\ No newline at end of file |
