1GIMPSVG(1) User commands GIMPSVG(1)
2
3
4
6 gimpsvg - convert a GIMP gradient (ggr) to the SVG format.
7
9 gimpsvg [-g geometry] [-h] [-o file] [-p] [-s samples] [-v] [-V] [file]
10
12 The gimpsvg utility converts gradient files from the GIMP(1), the GNU
13 Image Manipulation Program, to the SVG (scalar vector graphics) format.
14
15 The program will read from stdin if a file is not specified as the
16 final argument, and write to stdout if the -o option is not specified.
17
18 The output is formatted for machines to read, rather than humans. A
19 post-processor such as tidy(1) could be used in the latter case.
20
22 --backtrace-file path
23 Specify a file to which to write a formatted backtrace. The file
24 will only be created if there is a backtrace created, typically
25 when an error occurs.
26
27 --backtrace-format format
28 Specify the format of the backtrace written to the files specified
29 by --backtrace-file, one of plain, xml or json.
30
31 -g, --geometry widthxheight
32 Specify the size of the SVG preview in pixels.
33
34 -h, --help
35 Brief help.
36
37 -o, --output file
38 Write the output to file, rather than stdout.
39
40 -p, --preview
41 Include a preview in the SVG output. See also the --geometry
42 option.
43
44 -s, --samples number
45 Specify the maximum number of samples. GIMP gradients allow for
46 complex curves in a number of colour-space co-ordinate systems. In
47 order that these can be converted into SVG's simple RGB linear
48 splines we must sample these complex curves quite densely. The -s
49 option specifies (roughly) the maximum number of samples. In the
50 case that the GIMP gradient is an RGB linear spline gradient the
51 option has no effect, since we can then convert the segments
52 without loss.
53
54 -v, --verbose
55 Verbose operation.
56
57 -V, --version
58 Version information.
59
61 J. J. Green
62
64 GIMP(1), tidy(1), svggimp(1).
65
66
67
68CPTUTILS 8 July 2020 GIMPSVG(1)