projects
/
HTML5TV.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
added -vf screenshot
[HTML5TV.git]
/
bin
/
slides-hires.sh
1
#!/bin/sh
2
3
hires=150x150
4
5
test -z "$1" && echo "Usage: $0 media/conference/presentation.pdf" && exit
6
7
dir=`dirname $1`
8
to="$dir/s/hires"
9
10
echo "generate slide images from $1 to $to"
11
12
mkdir -p $dir/s/hires
13
gs -sDEVICE=jpeg \
14
-dNOPAUSE -dBATCH -dSAFER \
15
-r$hires \
16
-sOutputFile=$to/p%03d.jpg \
17
$1
18