Fun things to do with computers and photographs
Random header image... Refresh for more!

config

Synopsis

photohack config cameras
photohack config debug on|off
photohack config outputs
photohack config quiet on|off
photohack config styles
photohack config verbose on|off
photohack config wb [imagedir]
This command sets various options that control the operation of photohack.

Description

Debug and other output

The next operation of photohack will use the new options set by this command. The sub-commands are as follows.

photohack config debug on|off
Turn on debugging output. This prints a lot of information that is really only use to me (the programmer).
photohack config verbose on|off
Turn on more information. by default, photohack prints some information to keep you informed about what it’s doing. Turning this option makes it print a lot more.
photohack config quiet on|off
Make photohack keep quiet. This doesn’t quite turn off everything, but most things.

Displaying configuration data

Some of photohack’s data is contained in its [[Photohack configuration files | configuration files]. Currently these files have to be edited by hand. As a convenience, however, they can be displayed with the following commands.

photohack config cameras
Prints the cameras.txt configuration file.
photohack config outputs
Prints the outputs.txt configuration file.
photohack config styles
Prints the styles.txt configuration file.

Displaying and updating white balance data

photohack config wb [imagedir]
With no argument, display the white balance multipliers. If a directory is provided, all files in that directory will be read and the white balance data from these files will be used to update the white balance multipliers used by photohack when the RAW conversion option wb= is used. Each file must be a RAW file, and must have been shot with the camera set to a specific color temperature. Also, at least 2500 and 10000K have to be provided, and as many points in between as you can.

Examples

$ photohack config debug on
$ photohack config debug off
$ photohack config quiet on