PSPSVG(1)

๐Ÿ“ฆ version 1.82, in fedora 43, fedora 44

๐Ÿ’… pspsvg โ€” the glow-up your gradients deserve

okay bestie, so this is pspsvg, a user command, and it's about to convert PaintShop Proยฎ gradients (you know them, the .jgd and PspGradient girlies) into SVG โ€” Scalar Vector Graphics. it's giving makeover montage. โœจ


๐Ÿฆ‹ SYNOPSIS

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

๐ŸŒธ DESCRIPTION

so pspsvg takes the gradient files that PaintShop Pro uses โ€” which usually rock the extension jgd or PspGradient โ€” and converts them straight into Scalar Vector Graphics (SVG) format. iconic behaviour, no notes.

and here's the cute part: if you don't hand it a file as that final argument, it will read from stdin. and if you don't pass --output, it writes to stdout. so it justโ€ฆ flows through your pipes like it owns the place. main character energy fr. ๐Ÿ’–


โœจ OPTIONS โœจ

  • --backtrace-file path โ€” point this at a file and it'll write a formatted backtrace there. heads up though: the file only gets created if a backtrace actually happens, which is typically when an error goes down. so it's a "just in case" bestie, not an "every time" bestie.
  • --backtrace-format format โ€” picks the format of the backtrace that goes to the file(s) from --backtrace-file. your choices are plain, xml, or json. pick your fighter. ๐ŸŽ€
  • --comments-read path โ€” reads comments from the path you give it and adds them to the output gradient. the format is just a plain-text multi-line document with no comment delimiters โ€” the program adds those itself, because it's helpful like that.
  • --comments-generate โ€” makes a comment with summary data in the output file. that's the date of creation, plus the name and version of the cptutils package. receipts, basically. ๐Ÿงพ
  • -g, --geometry widthxheight โ€” sets the size of the SVG preview, in pixels. yes you literally write it like widthxheight. yes that's the vibe.
  • -h, --help โ€” brief help. short king. ๐Ÿ‘‘
  • -o, --output path โ€” writes the output to path instead of stdout. very "I have somewhere to be".
  • -p, --preview โ€” includes a preview in the SVG output. also go peek at --geometry while you're here, they're a package deal. ๐Ÿซถ
  • -v, --verbose โ€” verbose operation. it will tell you things. it will not be quiet about it.
  • -V, --version โ€” version information, obviously.

๐Ÿ”ฅ EXAMPLE

Create an SVG file from PaintShop Pro:

pspsvg -v -o foo.svg foo.jgd

look at her go. โœจ


๐Ÿ“ NOTES

ngl the author could not find any public documentation for the PaintShop Pro gradient file format, so they straight-up reverse-engineered it for the very first version of this program. an improved analysis of the format, done by Olivier Berten, was used for the version that exists now. respect. ๐Ÿซก

here's a thing you need to know: the PaintShop Pro format can be read by Photoshop, but Photoshop's native grd gradient format cannot be read by this program. not it. ๐Ÿ™ˆ so if you're trying to convert Photoshop gradients, go read the pssvg(1) documentation instead.

also, legal moment, keep it cute and keep it correct: PaintShop Proยฎ is a trademark of the Corel Corporation. Adobe Photoshopยฎ is a trademark of Adobe Systems Inc.


๐Ÿ’œ AUTHOR

J.J. Green


๐ŸŒˆ SEE ALSO

pssvg(1), svgx(1).


and that's the whole page, bestie โ€” this was cptutils version 1.82, dated 9 July 2024. go convert something gorgeous. ๐Ÿ’–โœจ๐ŸŽ€๐Ÿฆ‹

๐Ÿ“ฆ where this page comes from