diff options
| author | Tim Redfern <tim@eclectronics.org> | 2014-03-11 13:15:31 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2014-03-11 13:15:31 +0000 |
| commit | c81d13d3c2d4a89d9cac3ca54cca69650ec3a52d (patch) | |
| tree | d6c2145c440e5bcd202126b722b8f8cd6be4af81 /offsetProject/bin/data | |
| parent | ac1e8968254cf7810e84c0d90c80c94bc9dcd827 (diff) | |
sizing image library
Diffstat (limited to 'offsetProject/bin/data')
| -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 |
