Camera Hacker


Attach | Edit | Revisions
Related Content is a software that will convert your images for viewing on your digital camera. You can get a copy of from the "using Sony digital camera as a picture viewer" thread. Although was originally written as part of a Sony digital camera discussion thread, it works for all brands of digital cameras that support DCF (Design rule for Camera File system). Almost all of today's digital cameras support DCF. is a Python script that will run on any operating system with a Python interpreter. Most Linux distribution has Python pre-installed. (See "Related Links" below for instructions on installing Python on Windows.)

Comments & Discussion >>

Usage "image 1" [ . . . "image n" ] is a command-line utility, which means you'll have to run it from the system prompt.

Comments & Discussion >>

Linux Troubleshooting Command not found.

There are two possible reasons why you could have gotten a "Command not found" message.

Reason 1

The operating system could not find itself.

Check the file permission. Make sure you can execute the script. Use the following command to make an executable:

chmod 755

Update your path so that the operating system could find the script.

If you are in the same directory as the location of and the system still can't find the script, then the current directory is not in the path. You can run by adding "./" in front of it, such as:


Comments & Discussion >>

Reason 2

The operating system could not find the Python compiler that is specified on the first line of the script.

By default, the Python compiler is installed into /usr/bin, but on some systems it could be located in /usr/local/bin. You can also find out where python is located by using the "which" command:

which python

Simply use a text editor to modify and change to first line to match your Python location. If "which" is unable to find python, then you'll have to install it on your system.

Comments & Discussion >>

ImportError: No module named Image

If you get this error message, it means that you do not have the Python Image Library (PIL) installed on your computer. uses the Python Image Library to generate the images for your digital camera.

If you have a Debian package-based operating system, you can use the "sudo apt-get -y install python-imaging" command to install the Python Imaging Library through an automated process.

Another option is to download the Python Imaging Library from PythonWare (see "Related Links" below) and then install it yourself.

Windows Troubleshooting

Windows cannot open this file

If you get a dialog box while trying to execute in the Windows Command Prompt, then you do not have Python installed on Windows.

Comments & Discussion >>

Related Links

Attach | Edit | Revisions
Related Content