
On Fri, 30 Jan 2009, Wolfgang Denk wrote:
If we really add more bmp formats, we also get more combinations like of bmp / lcd:
Not necessarily. We can always request that bitmap images match the "natural" color depth of the display. It makes no sense to send a 16 bpp image to a 1 bpp display, nor does it vice versa.
Hm, then I wouldn't be able to present 8bpp BMP on i.MX31 with 16bpp colours?
BMP LCD 1-bit 1-bit 8-bit 1-bit 16-bit 1-bit 1-bit 8-bit ...
if we really want to go that way, maybe better break this code into several functions for different format conversions?
We do NOT want to do everything that is possible, but only what is reasonable.
Isn't sending RGB24 image with 256 colours to a 16-bit display reasonable?
Thanks Guennadi --- Guennadi Liakhovetski, Ph.D.
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office@denx.de