Slideshow

From ArmadeusWiki
Revision as of 14:42, 1 May 2009 by JulienB (Talk | contribs) (Installation)

Jump to: navigation, search

This page describes how to use the "Slideshow" Buildroot package

Installation

  • Select it in Buildroot (requires SDL & SDL_image):
 $ make menuconfig
Package Selection for the target  --->
    [*] Graphic libraries and applications (graphic/text)  --->
        [*]   SDL
        ...
        [*]     SDL_image
                  SDL_image file format support  --->
                      [*] enable BMP file format support (NEW)
                      [*] enable GIF file format support
                      [*] enable JPEG file format support
                      [ ] enable LBM file format support (NEW)
                      [ ] enable PCX file format support (NEW)
                      [*] enable PNG file format support
                      ...
        ...
        [*]     Slideshow
  • Save your configuration and rebuild your rootfs:
 $ make
  • Reflash the rootfs

Usage (depending on your LCD size)

  • replace /images/directory with the place where your images are stored:
 # export SDL_NOMOUSE=1
 # /usr/bin/slideshow -width 480 -height 272 -advance 5 -random -tran random /images/directory