projects
/
profile
/
ivi
/
psplash.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2008-05-27 Robert Bragg <bob@o-hand.com>
[profile/ivi/psplash.git]
/
make-image-header.sh
1
#!/bin/sh
2
imageh=`basename $1 .png`-img.h
3
name="${2}_IMG"
4
gdk-pixbuf-csource --macros $1 > $imageh.tmp
5
sed -e "s/MY_PIXBUF/${name}/g" -e "s/guint8/uint8/g" $imageh.tmp > $imageh && rm $imageh.tmp
6
7