1PSPSVG(1) User commands PSPSVG(1)
2
3
4
6 pspsvg - convert PaintShop Pro® gradients (jgd, PspGradient) to the SVG
7 format.
8
10 pspsvg [-g geometry] [-h] [-o file] [-p] [-v] [-V] [file]
11
13 The pspsvg utility converts the gradient files used by PaintShop Pro
14 (which usually have the extension jgd or PspGradient) to the Scalar
15 Vector Graphics (SVG) format.
16
17 The program will read from stdin if a file is not specified as the
18 final argument, and write to stdout if the -o option is not specified.
19
20 The output is formatted for machines to read, rather than humans. A
21 post-processor such as tidy(1) could be used in the latter case.
22
24 --backtrace-file path
25 Specify a file to which to write a formatted backtrace. The file
26 will only be created if there is a backtrace created, typically
27 when an error occurs.
28
29 --backtrace-format format
30 Specify the format of the backtrace written to the files specified
31 by --backtrace-file, one of plain, xml or json.
32
33 -g, --geometry widthxheight
34 Specify the size of the SVG preview in pixels.
35
36 -h, --help
37 Brief help.
38
39 -o, --output file
40 Write the output to file, rather than stdout.
41
42 -p, --preview
43 Include a preview in the SVG output. See also the --geometry
44 option.
45
46 -v, --verbose
47 Verbose operation.
48
49 -V, --version
50 Version information.
51
53 Create a machine-readable SVG file:
54
55 pspsvg -v -o new.svg old.jgd
56
57 Create a human-readable SVG file:
58
59 pspsvg old.jgd | tidy -xml -indent -o new.svg
60
62 The author could find no public documentation for the PaintShop Pro
63 gradient file format and so reverse-engineered it for the first version
64 of this program. An improved analysis of the format by Olivier
65 Berten[1] was used for the present version.
66
67 The PaintShop Pro format can be read by Photoshop, but Photoshop's
68 native (grd) gradient format cannot be read by this program. To convert
69 Photoshop gradients, see the pssvg(1) documentation.
70
71 PaintShop Pro® is a trademark of the Corel Corporation. Adobe
72 Photoshop® is a trademark of Adobe Systems Inc.
73
75 J. J. Green
76
78 pssvg(1), svgpsp(1), tidy(1).
79
81 1. Olivier Berten
82 http://www.selapa.net/swatches/gradients/fileformats.php
83
84
85
86CPTUTILS 8 July 2020 PSPSVG(1)