TyGeMo
TyGeMo (pronounced tie-guh-moe) is a Tcl/Tk graphical front end to the digital
camera software, photopc. photopc can be downloaded from
http://photopc.sf.net
Please see the photopc website for camera compatibility information. If your
digital camera is not supported by photopc, it will not work with tygemo
either.
My ultimate goal is to impliment all of photopc's features in TyGeMo, so that anyone will be able to easily manipulate their digital camera.
Currently TyGeMo only supports serial port access to your digital camera. If you are familiar with using photopc across a USB port to access your digital camera, then please see the 'Contact' section below to provide me with feedback on adding that functionality to TyGeMo.
Please see the CHANGELOG file for the revision history of TyGeMo.
Requirements
Photopc (version 3.05 or higher) http://photopc.sf.net Tcl/Tk (version 8.xx or higher) http://www.scriptics.com Functional hardware (digital camera & serial port)
Installing
Extract the contents of the tarball somewhere convenient: tar xzvf tygemo-0.2.0.tgz
Set the tygemo script executable:
chmod 755 tygemo
If you wish to make tygemo accessible to any user, then (as root) copy tygemo to somewhere in your $PATH. Otherwise, you can simply run it from where it is.
Running
Currently TyGeMo can perform the following tasks for you:
0) Display how many pictures are stored in your camera
1) Download all pictures on the camera to your local harddrive
2) Download any one picture from the camera
3) Erase all the pictures on the camera
4) Erase any one picture from the camera
5) Turn the camera off
6) Configure your camera's resolution, brightness, white balance, contrast & flash
Run the TyGeMo script simply by typing 'tygemo'. This assumes that tygemo is in your $PATH. If it is not, then you will have to provide the full path, such as /home/tyger/tygemo
Before you can perform either of the tasks, you must set the two configuration options, Serial port SPEED & Serial Port.
In most cases, the default serial port speed of 115200 is fine. You will have to select the correct serial port that the camera is plugged into.
If you select the wrong port, you will get errors, and communication with your camera will fail. If you are unsure of which port your camera is plugged into, trial and error is usually safe, however I take no responsibility whatsoever if something unexpected occurs when trying to communicate with the wrong serial port.
If you are certain that you are accessing the correct serial port, and yet you are still get errors or poor results, try selecting one of the slower serial port speeds.
Also, make certain that the camera is turned on before attempting to communicate with it, or you will also receive errors. Normally, switching the camera 'on' is the same as putting it into a state where it is ready to take pictures.
To query the current number of pictures stored in the camera, click the button labeled "Current number of pix in camera". After 1 or 2 seconds, you should see a value appear. Please note, that you must click this button if you do not wish to download all of the stored pictures at one time. Otherwise, how would you know which picture to download if you didn't know how many there were?
If you are planning to download pictures from the camera, decide where you want them placed. The (safe) default is your $HOME (~) directory, however you can enter any directory where you have write access.
Now, to download all of the cpitures simply click the button labeled "Get Pix from Camera", and select "ALL" and the download will begin. At this time, I have not yet added functionality that allows you to actively monitor the progress of the download. However, you should be able to run an "ls -l" in the directory where you chose to download your pictures, and monitor the download progress there. The button will remain depressed, and TyGeMo will remain unresponsive until the download process is complete.
If you wish to download a single picture at a time, first click the buttont labeled "Current number of pix in camera". Once a value appears, then click on the button labeled "Get Pix from Camera", and click on the picture number that you wish to download. Picture #1 is the oldest picture in the camera, and the newest is the highest numbered picture. The button will remain depressed, and TyGeMo will remain unresponsive until the download process is complete.
If you wish to erase the full picture contents of the camera, simply click on the button labeled "Erase Pix from Camera". Then click "ALL" and the button will remain depressed and TyGeMo will remain unresponsive until the erasure is completed. Additionally, the field next to the "Current number of pix in camera" button will display the number 0 once all the pictures have been erased from the camera.
If you wish to erase a single picure at a time, first click the button labeled "Current number of pix in camera". Once a value appears, then click on the button labeled "Erase Pix from Camera", and click on the picture number that you wish to erase. Picture #1 is the oldest picture in the camera, and the newest is the highest numbered picture. TyGeMo will remain unresponsive until the erasure is completed. The field next to the "Current number of pix in camera" button will display the updated number of pictures once all the single picture have been erased from the camera. Additionally, all the drop menus will automatically update with an accurate count of pictures remaining in your camera.
The "Camera Controls" button basically allows you to configure the behavior of your camera. The options available
are:
* OFF: This powers the camera off. It can be useful if you wish to conserve battery power while the camera
is attached to your computer.
* RESOLUTION: The choices are HI, LOW, and EXTENDED. The exact meaning of the modes is model-dependant and
may specify different image dimensions and/or JPEG compression rate.
* FLASH: The choices are AUTO, FORCE, OFF, ANTI-REDEYE, and SLOWSYNC. These set the camera's flash mode.
* CONTRAST: The choices are + (higher contrast), - (lower contrast), and RESET. This adjusts the picture's
contrast.
* BRIGHTNESS: The choices are + (brighter), - (less brightness), and RESET.
* WHITE BALANCE: The choices are Normal, Sunny , Incandescent, Fluorescent, Flash, & Cloudy. This sets the white
balance.
Contact
To report bugs, make feature requests, or comment on TyGeMo, I can be contacted
at the following:
Lonni J Friedman netllama@users.sf.net
http://tygemo.sf.net
