bbsplash applet

Paul Fox pgf at brightstareng.com
Wed Mar 5 14:08:12 UTC 2008


michele wrote:
 > Il giorno mar, 04/03/2008 alle 09.54 -0500, Paul Fox ha scritto: 
 > > no -- there is no reason for the box to have to interpret image
 > > formats at boot time, and you shouldn't force busybox bloat this
 > > way.
 > > 
 > > you should replace ppm with just one image format -- a raw binary
 > > format that exactly matches the framebuffer format.
 > > 
 > > your code that loads the fb should move into a separate utility
 > > that creates such a file.  then the raw splash images can be
 > > generated offline.  and your boot-time code could perhaps be
 > > reduced to "dd <file >/dev/fb0".
 > 
 > 
 > I thought that was useful convert the ppm data runtime in order to be
 > independent from other tools.

yes, you're right -- it is.  and since it's such a primitive
format, and the code to interpret it is so small, it might as
well remain.

i was mainly thinking that you shouldn't add code to support
PNG/JPEG/GIF/etc -- just add one more format -- 565 for now, but
later which can be configured to match the framebuffer of the box
busybox is running on.  that will give maximum performance, and
will be very flexible.

if you provide the conversion tool, i suppose it should be an applet
that can be configured independently of bbsplash itself.  but if
you find a common tool that can do the conversion instead (for instance,
can "convert" from ImageMagick do it?  can the Gimp?), then you
don't need to provide the conversion applet -- anyone working
with splash screens will already have graphical tools available, and
there's no real reason to provide another.

(just my opinion).

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



More information about the busybox mailing list