Automatic Image conversion
==========================
peter pfrang 2003-03-19

Script was designed to work together with tty_ctrl, to transform a lot of pictures, e.g. from a camera, from one format to another with less effort.
You will need the following packages: Image Magic, tty_ctrl and (if you would like to communicate with Windows PC's) samba.


License:
========
Copyright (C) 2003 by Peter Pfrang <peter.pfrang@gmx.de>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software Foundation,
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.


Installation:
=============

0. Log in as root

1. Add a new user: bilder. Extract the archive bilder.tgz to the home directory of this user:
cd /home/bilder
tar xvzf bilder.tgz

Change the password for the user bilder:
passwd bilder

2. Copy the button_script to the directory /etc/tty_ctrl (e.g. as for Button 7):
cp /home/bilder/bin/button_script /etc/tty_ctrl/button7

3. Restart tty_ctrl, to make the changes work

4. Load the pictures on the computer to the directory: /home/bilder/incoming

Via FTP to the linux Computer
user:     bilder
password: hallo


5. Operate the bilder-Button at the Computer:
The green led is off, while the yellow lights for a certain time.

6. Wait. The transformation takes a little time for every picture (depending on the CPU)

7. When all pictures are transformed the Windows_PC gets a message via net send:

Die Umwandlung der Bilder ist abgeschlossen!
Sie finden die neuen Bilder nun im Verzeichniss:
/home/bilder/finished
Per ftp: 192.168.83.168
user:     bilder
passwort: hallo

Viel Spass damit.

Ammendment: I have tested this together with Windows NT, if you intend to use Windows 98/ME, than you'l have to start (I think winpopup) a program for the messaging service. If you are having trouble with this, please consult the samba documentation.

8. Now you can download the files via ftp. Directory: /home/bilder/finished

9. Do not forget to delete the pictures.

Have a lot of fun

Peter Pfrang
