Useful Node Programs: Difference between revisions
No edit summary |
|||
Line 1: | Line 1: | ||
A list of useful node programs.<br> | A list of useful node programs.<br> | ||
You can install them with <code>npm -i <program></code> | You can install them with <code>npm -i -g <program></code> | ||
==Convert SVG to PNG== | ==Convert SVG to PNG== |
Latest revision as of 13:27, 21 November 2019
A list of useful node programs.
You can install them with npm -i -g <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