Hi, Michele!

Since .ppm files are rather big, a zipped ones would be nice to have.
Attached is the patch for fbsplash to cope with compressed image files
via standard  open_zipped() procedure.

Of course we could pipe image, say: "gunzip fbsplash -s -", but this
reserves stdin for image, and we have to workaround with mkfifo and
backgrounding (which is ugly).

With the patch, the following clean scenario is ok:

for i in 10 20 30 40 50 60 70 80 90 100 exit; do
   sleep 1 # or do something useful :)
   echo $p
done | fbsplash -cs image.ppm.gz -i cfgfile -f -

Please, review.

Regards,
--
Vladimir

Attachment: fbsplash.patch
Description: Binary data

_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to