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

FreeBSD Manual Pages

  
 
  

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

NAME
       gimpsvg - convert a GIMP	gradient (ggr) to the SVG format.

SYNOPSIS

       gimpsvg [-g geometry] [-h] [-o path] [-p] [-s samples] [-v] [-V]	[path]

DESCRIPTION
       The gimpsvg utility converts gradient files from	the GIMP, the GNU
       Image Manipulation Program, to the SVG (scalar vector graphics) 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 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.

       --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
	   version 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.

       -s, --samples number
	   Specify the maximum number of samples. GIMP gradients allow for
	   complex curves in a number of colour-space coordinate systems. In
	   order that these can	be converted into SVG's	simple RGB linear
	   splines we must sample these	complex	curves quite densely. The
	   --samples option specifies (roughly)	the maximum number of samples.
	   In the case that the	GIMP gradient is an RGB	linear spline gradient
	   the option has no effect, since we can then convert the segments
	   without loss.

       -v, --verbose
	   Verbose operation.

       -V, --version
	   Version information.

AUTHOR
       J.J. Green

SEE ALSO
       svgx(1).

cptutils 1.83			7 November 2024			    GIMPSVG(1)

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

home | help