|
2009-01-07
, 21:25
|
|
Posts: 4,930 |
Thanked: 2,272 times |
Joined on Oct 2007
|
#2
|
|
2009-01-07
, 21:34
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#3
|
|
2009-01-08
, 21:58
|
|
Posts: 716 |
Thanked: 236 times |
Joined on Dec 2007
|
#4
|
|
2009-01-08
, 22:16
|
|
Posts: 716 |
Thanked: 236 times |
Joined on Dec 2007
|
#5
|
On a tablet,
"python2.5 disprgb.py /mnt/initrd/usr/share/images/logo-nokia" will display the nokia logo in a window. The only other file in this format is qgn_indi_charger_connection_detected in the same directory, but there is another which is an actual png file.
I haven't tried substituting anything for the logos yet or changing the startup scripts which run the programs which display these.
The format starts with two 4 byte integers, one each for width and height in that order, then the image. The image is a set of code/datas starting with a 1 byte rle code. zero is a terminator. If the code is > 127, the number is anded with 127 and the next byte-pair is repeated that many times. If the code is < 128, it means that that many following byte pairs (2*code bytes total) should be copied. (I don't think 0x80 as a code - zero reps - occurs).
The byte pairs are in framebuffer format, BBBBBGGG GGGRRRRR