On 03.12.2009, at 18:42, Stefan Reinauer wrote:
On 12/3/09 5:49 PM, Alexander Graf wrote:
Stefan Reinauer wrote:
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?
Good old zlib should give you pretty good compression ratios.
Unfortunately, for the current picture it goes down from 230KiB to 180KiB, almost not worth the effort. The same image as jpg is 29KiB.
Oh? Do you have many color fadings?
Got a link to the image?
Alex