repo.or.cz
/
empathy.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Update python binding
[empathy.git]
/
data
/
icons
/
generate-png.sh
blob
ce6d585c59874eb874ab44971ec25e935e4f725d
1
#! /bin/sh
2
3
for
F
in
*
.svg
4
do
5
for
S
in
"16"
"22"
"24"
"32"
"48"
6
do
7
SIZE
=
"
$S
"
x
"
$S
"
8
D
=
$
(
echo
$F
|
sed
-e
"s/scalable/
$SIZE
/g"
|
sed
-e
"s/.svg/.png/"
)
9
if
[ !
-e
$D
]
10
then
11
inkscape
--export-png
=
$D
-w
$S
-h
$S $F
12
fi
13
done
14
15
done