slackbuilds_ponce/graphics/fbpic
Heinz Wiesinger 63daf9f79a All: Support $PRINT_PACKAGE_NAME env var
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
2021-07-17 21:55:09 +02:00
..
doinst.sh
fbpic.info
fbpic.SlackBuild All: Support $PRINT_PACKAGE_NAME env var 2021-07-17 21:55:09 +02:00
README
slack-desc

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 (@16bpp).


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.