projects
/
profile
/
ivi
/
psplash.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add gbs.conf
[profile/ivi/psplash.git]
/
make-image-header.sh
1
#!/bin/sh
2
3
set -e
4
5
imageh=`basename $1 .png`-img.h
6
name="${2}_IMG"
7
gdk-pixbuf-csource --macros $1 > $imageh.tmp
8
sed -e "s/MY_PIXBUF/${name}/g" -e "s/guint8/uint8/g" $imageh.tmp > $imageh && rm $imageh.tmp
9
10