aboutsummaryrefslogtreecommitdiff
path: root/graphics/fbpic/README
blob: 7faa417cc8a41daa5e0b40984a0b3b1667fea305 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FBpic is a simple command to view ppm files on the linux frame buffer.
There are no command line switches, the ppm file is just read in from
stdin.  You must have your framebuffer set up to display graphics.


EXAMPLES:

To display the image /fancyboot/images/main.ppm on the console:

  cat '/fancyboot/images/main.ppm'|fbpic

To scale and display a jpg on the console via Imagemagik:

  convert /fancyboot/images/ntpd.png -scale 1024x768! ppm:-|fbpic

Simple one line slideshow:

  setterm -cursor off;find /path/to/pics/*.jpg|while read; \
  do convert -scale 1024x768! ppm:-|fbpic;sleep 2;done;setterm -cursor on

Change "scale" to your frame buffer resolution, change /path/to/pics/
to point to a folder of jpgs and sleep for the delay.