gimplut - Man Page
convert GIMP gradient (ggr) files to binary lookup tables (lut).
Synopsis
Description
The gimplut utility converts gradient files from the GIMP, the GNU Image Manipulation Program, to a binary lookup table format commonly used by medical imaging software; in particular the (X)Medcon package.
The LUT format consists of n red, n green and n blue bytes, interpreted as integers from 0 to 255.
The program will read from stdin if a file is not specified as the final argument, and write to stdout if the --output option is not specified.
Options
- --backtrace-file path
Specify a file to which to write a formatted backtrace. The file will only be created if there is a backtrace created, typically when an error occurs.
- --backtrace-format format
Specify the format of the backtrace written to the files specified by --backtrace-file, one of plain, xml or json.
- -h, --help
Brief help.
- -o, --output path
Write the output to path, rather than stdout.
- -s, --samples number
Use the specified number of samples rather than 256.
- -v, --verbose
Verbose operation.
- -V, --version
Version information.
Caveats
The alpha channel of the input is completely ignored in the output.
At some point in the future the functionality of this program will be transferred to the svgx(1) program.
Author
J.J. Green