On December 3, 2009 at 4:24 PM Stefan Reinauer stepan@coresystems.de wrote:
On 12/2/09 11:59 PM, joe@settoplinux.org wrote:
This is awsome :-) I can't wait to try it out.
It seems to be a rather large (file size) banner though. Any way to scale it down a bit?
Thanks - Joe
Not so easily...
I made the graphics 320x200, so it's around 230KiB raw image data.
Options:
- use a compressed format.. This would mean adding a (i.e. JPG)
decompressor to Qemu.. Either by requiring to link against libjpeg, or by adding a jpg decompressor in an extra file.
- load the PPM file from the filesystem instead of including it in the
source. Doesn't make it smaller but then it's not possible to make a single diff against the Qemu source tree anymore.
- paint something funky with a nice and small algorithm. Suggestions?
Ah, 230k isn't so bad and serialice is small enough so there is plenty of space left over. The only time it may be a problem is if you only have a 128k chip. I was just looking at the 1.4mb attachment to r80 but I guess that was the raw hex data.
Thanks - Joe