Difference between revisions of "Slideshow"
From ArmadeusWiki
m (→Usage (depending on your LCD size)) |
(→Installation) |
||
| Line 2: | Line 2: | ||
==Installation== | ==Installation== | ||
| − | * | + | * Select it in Buildroot (requires SDL & SDL_image): |
<pre class="host"> | <pre class="host"> | ||
| − | $ make | + | $ make menuconfig |
</pre> | </pre> | ||
| − | *Reflash rootfs | + | <pre class="config"> |
| + | 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 | ||
| + | </pre> | ||
| + | |||
| + | *Save your configuration and rebuild your rootfs: | ||
| + | <pre class="host"> | ||
| + | $ make | ||
| + | </pre> | ||
| + | *Reflash the rootfs | ||
==Usage (depending on your LCD size)== | ==Usage (depending on your LCD size)== | ||
Revision as of 14:42, 1 May 2009
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