Bernhard Reutner-Fischer ha scritto:
Are you sure that the problem is the image resolution and not its colors
number? Both my images are in RGB colors (24 bpp), as required by the
fbsplash; their are converted to 16bpp (565 coded) within the
fb_drawimage function:
Oh, that could be. Should we be able to substract all header stuff from st_size
and calculate if we need to convert to 16bpp?
Can you send me the image are you using?
http://busybox.net/~aldot/bb/blueeye_white.ppm
87b86fc1901520dd017a748a2fa7e81f blueeye_white.ppm
about 900k big.
I can't reproduce the problem you have reported; your image (totally or
a part of it) is displayed correctly in my 640x480, 16bpp framebuffer.
Can you retry, perhaps adding a few prints messages to identify where
the program crashes?
Regards.
--
Michele Sanges
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox