|
|
Rockbox mail archiveSubject: 6 x 8 graphics anyone? ;-)From: Daniel Stenberg (daniel_at_haxx.se) Date: 2002-05-08
Yes
I discovered that if you fire up GIMP, create a black-and-white image 6
It only saves the bytes row-by-row instead of the column-by-column that we
The following little perl script "rotates" the bytes and makes a neat array
Yes, I added two "icons" in the dir browser I made this way. ;-)
---- snip ----
while(<STDIN>) {
($a[0], $a[1], $a[2], $a[3], $a[4], $a[5], $a[6], $a[7])=
my @b;
for(0 .. 7) {
for(0 .. 7) {
# printf("b[$bit] = %x (byte %d)\n", $b[$bit], $_);
}
for(0 .. 5) {
-- Daniel Stenberg -- Hacking Archos => http://bjorn.haxx.se/rockbox/
Page was last modified "Mar 9 2008" The Rockbox Crew |