mirror of
https://github.com/netfun2000/lcd4linux.git
synced 2026-02-27 09:44:34 +08:00
added PNG,Webinterface git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@91 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
30 lines
1.0 KiB
Plaintext
30 lines
1.0 KiB
Plaintext
|
|
Prerequisits:
|
|
|
|
- libgd (I used 1.81 for testing), which needs libpng and libz.
|
|
Get it from http://www.boutell.com/gd/
|
|
- apache, perl, netscape (I don't know, if other browsers can display
|
|
server pushed images)
|
|
|
|
The PNG driver in Raster is able to generate PNG-Images.
|
|
|
|
To display this png file continuously in a web page, follow these instructions:
|
|
Copy the sample png.html to an appropriate place under your htdocs.
|
|
Copy the sample nph-png perl script into your cgi-bin directory, and adjust
|
|
png.html to contain this directory.
|
|
Adjust nph-png to contain the path/filename of the outputfile (s. -o option
|
|
in README.Raster or 'lcd4linux -h').
|
|
Start 'lcd4linux -o /path/filename.png'.
|
|
|
|
If you are on a slow connection to your webserver you might also adjust the
|
|
$DELAY in nph-png or the tick/tack in lcd4linux.conf.
|
|
|
|
Note: depending on your webservers configuration, you must rename nph-png to
|
|
nph-png.pl or npg-png.cgi.
|
|
|
|
|
|
Please send correction, additions, questions & donations to
|
|
Leopold Toetsch <lt@toetsch.at>
|
|
|
|
Have fun.
|