projects
/
HTML5TV.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch 'master' of github.com:dpavlin/HTML5TV
[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
9
echo "generate slide images from $1 to $dir/hires"
10
11
mkdir -p $dir/hires
12
gs -sDEVICE=jpeg \
13
-dNOPAUSE -dBATCH -dSAFER \
14
-r$hires \
15
-sOutputFile=$dir/hires/p%03d.jpg \
16
$1
17