PSPSVG(1)
๐ 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-filepath โ 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-formatformat โ picks the format of the backtrace that goes to the file(s) from--backtrace-file. your choices areplain,xml, orjson. pick your fighter. ๐--comments-readpath โ 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 thecptutilspackage. receipts, basically. ๐งพ-g,--geometrywidthxheight โ sets the size of the SVG preview, in pixels. yes you literally write it likewidthxheight. yes that's the vibe.-h,--helpโ brief help. short king. ๐-o,--outputpath โ writes the output to path instead ofstdout. very "I have somewhere to be".-p,--previewโ includes a preview in the SVG output. also go peek at--geometrywhile 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
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
- fedora 43: cptutils 1.82-4.fc43 ยท GPL-2.0-or-later
- fedora 44: cptutils 1.82-6.fc44 ยท GPL-2.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms