于 2011-6-28 13:21, H. Peter Anvin 写道:
On 06/27/2011 08:40 PM, Wayne Xia wrote:
Yeah, BMP have a big size, but it would not lose quality of the
image. So I'd like to make BMP decoder an option for seabios. If the user want to pass an image with compression, I think the old jpeg decoder was good enough. In my test, some jpeg picture have an observable quality lose after decoding, So I think in this situation user could pass a BMP file instead of jpeg file, it is a simple solution.
Ever heard of lossless compression?
Well there are, as you said with extra code for the decompressor, I agree that it was a good method to pass image data. My opinion is that showing the logo is a non-significant part of seabios, and the BMP method is a simple way to achieve the goal. So in this way it would save some effort, and also some binary space for the 128K rom size, which currently have been used about 88%.