projects
/
PoPiPaint.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix the frame title
[PoPiPaint.git]
/
src_images
/
convert_all.sh
1
#!/bin/sh
2
3
WIDTH=640
4
HEIGHT=640
5
OUTPUT_DIR="raster/"
6
7
[ -d $OUTPUT_DIR ] || mkdir $OUTPUT_DIR
8
9
for file in *.svg;
10
do
11
OUTPUT_FILE="$(basename "$file" .svg).png"
12
inkscape --export-background "#000000" -f "$file" -w $WIDTH -h $HEIGHT -e "$OUTPUT_DIR/$OUTPUT_FILE"
13
done