Useful Node Programs: Difference between revisions
Line 5: | Line 5: | ||
[https://www.npmjs.com/package/convert-svg-to-png Link]<br> | [https://www.npmjs.com/package/convert-svg-to-png Link]<br> | ||
Good for rastering SVG files for programs which only import PNG files like Adobe Premiere.<br> | Good for rastering SVG files for programs which only import PNG files like Adobe Premiere.<br> | ||
<syntaxhighlight lang="bash"> | |||
npm i -g convert-svg-to-png | |||
</syntaxhighlight> | |||
<pre> | <pre> | ||
Usage: convert-svg-to-png [options] [files...] | Usage: convert-svg-to-png [options] [files...] | ||
Options: | Options: | ||
-V, --version output the version number | -V, --version output the version number | ||
--no-color disables color output | --no-color disables color output | ||
Line 24: | Line 22: | ||
--width <value> specify width for PNG | --width <value> specify width for PNG | ||
-h, --help output usage information | -h, --help output usage information | ||
</ | </pre> |
Revision as of 13:27, 21 November 2019
A list of useful node programs.
You can install them with npm -i <program>
Convert SVG to PNG
Link
Good for rastering SVG files for programs which only import PNG files like Adobe Premiere.
npm i -g convert-svg-to-png
Usage: convert-svg-to-png [options] [files...] Options: -V, --version output the version number --no-color disables color output --background <color> specify background color for transparent regions in SVG --base-url <url> specify base URL to use for all relative URLs in SVG --filename <filename> specify filename for the PNG output when processing STDIN --height <value> specify height for PNG --puppeteer <json> specify a json object for puppeteer.launch options --scale <value> specify scale to apply to dimensions [1] --width <value> specify width for PNG -h, --help output usage information