> jpeg decoder have its limitation, it only accept jpg file with > width=16*M, height=16*N. > bmp decoder only accept 24bpp file, with a resolution that a video > mode could support. Recommended is 640x480(mostly used).
Doing image decoding in the bios seems particularly pointless. Why don't you just pass the bios raw image data? If you really want to directly support fancier formats IMO it makes much more sense to do that in qemu itself. There we can use the same libraries as everyone else (libjpeg, libpng, etc) rather than badly reimpleenting them inside the bios. Paul