Skip site navigation (1)Skip section navigation (2)

  
 
  

home | help
PSPSVG(1)			  User commands 		       PSPSVG(1)

NAME
     pspsvg  -	convert PaintShop Pro(R) gradients (jgd, PspGradient) to the SVG
     format.

SYNOPSIS
     pspsvg [-g geometry] [-h] [-o path] [-p] [-v] [-V] [-2] [path]

DESCRIPTION
     The pspsvg utility converts the gradient files used by PaintShop Pro (which
     usually have the extension jgd or PspGradient) to the Scalar Vector  Graph-
     ics (SVG) format.

     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 er-
	 ror occurs.

     --backtrace-format format
	 Specify the format of the backtrace written to the files  specified  by
	 --backtrace-file, one of plain, xml or json.

     --comments-read path
	 Read  the  comments  from the specified path and add them to the output
	 gradient.

	 The format is custom XML which should be fairly easy to  generate,  see
	 the output of --comments-write for examples.

     --comments-generate
	 Create a comment with summary data (the date of creation, name and ver-
	 sion of the cptutils package) in the output file.

     -g, --geometry widthxheight
	 Specify the size of the SVG preview in pixels.

     -h, --help
	 Brief help.

     -o, --output path
	 Write the output to path, rather than stdout.

     -p, --preview
	 Include a preview in the SVG output. See also the --geometry option.

     -v, --verbose
	 Verbose operation.

     -V, --version
	 Version information.

     -2, --svg2
	 SVG  output  is version 2.0 of the format. Note that version 2.0 is not
	 yet completed and browser support is minimal.

EXAMPLE
     Create an SVG file from PaintShop Pro:

	 pspsvg -v -o foo.svg foo.jgd

NOTES
     The author could find no public documentation for the PaintShop Pro  gradi-
     ent  file format and so reverse-engineered it for the first version of this
     program. An improved analysis of the format by Olivier Berten was used  for
     the present version.

     The  PaintShop  Pro format can be read by Photoshop, but Photoshop's native
     (grd) gradient format cannot be read by this program. To convert  Photoshop
     gradients, see the pssvg(1) documentation.

     PaintShop	Pro(R)	is  a  trademark  of the Corel Corporation. Adobe Photo-
     shop(R) is a trademark of Adobe Systems Inc.

AUTHOR
     J.J. Green

SEE ALSO
     pssvg(1), svgx(1).

cptutils 1.85			30 September 2025		       PSPSVG(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=pspsvg&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help