cphoto: photo generator
projects: clock | color editor | cSpy | hopy | xdoc | cphoto :: articles: tree viewer | watching the eclipse | DW findbugs one, two | :: mock exam: mock exam

about | download | install | screenshots/examples| docs | license | acknowledgments | faq | contact

install…

Installation is simple. These instructions are mostly Windows biased. cPhoto works fine on Unixy systems (I run it there) but I figured if you‘re running Unix you could figure out. Let me know if I’m wrong.

  1. Unzip the ZIP file into a directory. We’ll call this directory cPhotoHome.
  2. Make sure you have JDK or JRE 1.4 in your path. To test that you have JDK 1.4 you can open a command prompt and type: c:>java -version

You should see something like this:

java version "1.4.1-rc" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-rc-b19) Java HotSpot(TM) Client VM (build 1.4.1-rc-b19, mixed mode)

  1. Change directory to cPhotoHome/bin and execute cphoto.bat

If everything goes as expected, the UI should open.

command line…

To run cphoto as a command line app you need to have cphoto.jar in your classpath and cPhotoHome/libs in your java.library.path. The main class is cbg.photo.CPhoto

If you‘re in the cPhotoHome directory the following will work:

java -classpath libs/cphoto.jar -Djava.library.path=libs cbg.photo.CPhoto

When running cphoto from the command line you must specify a photo src directory by using the *-src* switch.

Here’s a couple of examples

relative directory

-src ./photos or -src photos

relative directory

-src d:/fun/Photos

-src ~/photos

-src /home/me/pics

SourceForge.net Logo