[patch] - bbsplash applet

Paul Fox pgf at brightstareng.com
Tue Mar 4 07:41:36 PST 2008


ralf wrote:
 > Paul Fox wrote:
 > > you should replace ppm with just one image format -- a raw binary
 > > format that exactly matches the framebuffer format.
 ...
 > The binary PPM format as almost as raw as it can get, while keeping 
 > information about the file size.

i don't understand how a single PPM binary format can match various
framebuffer depths.  (and -- i may be wrong on this -- don't framebuffers
differ in pixel encoding, as well?  RGB vs. BGR, 565 vs. 556, etc?)

 > The conversion of binary PPM to raw rgb can normally be done with "tail 
 > -n +4", although a program "ppmtorgb3" is also available for files with 
 > unusual line breaks or bit depths.

again, i don't understand.  ppmtorgb3 creates three files.  how
does this help with writing a framebuffer?

paul
=---------------------
 paul fox, pgf at brightstareng.com


More information about the busybox mailing list