Re: Source code for framebuffer demos and BB

From: Kasirye Stephen (
Date: Thu Nov 14 2002 - 20:10:19 CET

Hello all,

Thanks all that you are doing to mulinux. Congratulations to Michele and all
the rest. Now mulinux is at 13r2. I just do not have dedicated link or
reliable access to the internet so I am on and off. Some day I hope to be
back in the flock, friends.

I am back to the mulinux list though I am not receiving all mails as yet. I
have seen this in my box and tried to follow up the url but it did not work.
What is the correct url?


>From: Michele Andreoli <>
>Subject: Source code for framebuffer demos and BB
>Date: Tue, 12 Nov 2002 15:21:38 +0000
>MIME-Version: 1.0
>Received: from ([]) by
>with Microsoft SMTPSVC(5.0.2195.5600); Tue, 12 Nov 2002 06:21:42 -0800
>Received: (qmail 13962 invoked by alias); 12 Nov 2002 14:21:31 -0000
>Received: (qmail 13950 invoked from network); 12 Nov 2002 14:21:30 -0000
>Mailing-List: contact; run by ezmlm
>Precedence: bulk
>X-No-Archive: yes
>Delivered-To: mailing list
>Message-ID: <20021112152138.GB6610@server>
>User-Agent: Mutt/1.4i
>Organization: Rustic Software Foundation Return-Path:
>X-OriginalArrivalTime: 12 Nov 2002 14:21:43.0293 (UTC)
>At request from an user, I also released, in the same directory:
>the archives fbppm.tgz, j2.tgz and bb.tgz.
>They are *only* demos and coding is careless.
>Usage: j2 file.jpg rgb|ppm|ppm6
>Convert jpeg files in the format rgb or PPM. The PPM6 (the rawbits PPM)
>is used as input for fbppm.
>The binary compile well also in libc5 and do not requires libjeg in
>order to run.
>It writes on the stdout.
> # j2 file.jpg | fbppm -s 2 -
>The command do not use external libraries. Every is managed
>internally, with zero-order performance : rustic color palette, rustic
>rustic sprites.
>So, do not expect fluid image
>movements :-)
>bppm, Display (rawbits) PPM on Linux framebuffer (C) 2002 M. Andreoli
>Usage: fbppm [opts] ppmfile|-
> -x offx -y offy (XY offsets, up-left corner)
> -c (clear the framebuffer, at the end)
> -r (refresh mode)
> -f (fullscreen)
> -w [secs]; wait before exit; -w -1 means until keypressed
> -s [integer factor] (scale)
> -b (blink demo)
> -d velocity|0 (diagonal demo)
> -B velocity|0 (bouncing demo)
> -t timeout (screen saver mode)
>This command is able to show a PPM on the framebuffer console; it can
>scale the images and can move the image on the screen like a bouncing ball,
>Used in this way:
> # fbppm -c -t 120 file.ppm
>it acts as screensaver: the image file.ppm appears flying around, if
>you didn't use the keyboard for 120 sec.
>fbppm uses system call like: alarm() and fork().
>The C code is simple and commented.
>This is the result of my reading about framebuffer graphics in Linux.
>Thanks to fbv, fbi and other packages Authors for let me explore
>their code :-)
>Hope this useful for someone else.
>"Physics is like sex: it may give some practical
>results, but that's not why we do it" (Richard Feynman)
>To unsubscribe, e-mail:
>For additional commands, e-mail:

Tired of spam? Get advanced junk mail protection with MSN 8.

To unsubscribe, e-mail:
For additional commands, e-mail:

This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:23 CET