node-rsvg
node-rsvg copied to clipboard
Parse SVG files and render them as PNG, PDF, SVG, or raw memory buffer images.
``` node-rsvg $ npm i npm WARN deprecated [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or...
If you have any issues, you can try [prebuilt node-rsvg](https://github.com/f3lang/node-rsvg-prebuilt) or create your own fork.
On macOS, `PKG_CONFIG_PATH` is always overridden on install. I have `libffi` and other packages installed elsewhere and they're already on `PKG_CONFIG_PATH`. In this fix, `/opt/X11/lib/pkgconfig` is added to the path...
See https://github.com/walling/node-rsvg/issues/12
Can we add bleed lines (For PDF file) using this library?
Hi @2gis, librsvg (via `rsvg-convert` has support for a `--background-color` option. It would be nice if this package supported this property as a parameter to `svg.render()`: ```js let svg =...
Hi, When running the tests on MacOS 10.12.2, librsvg 2.40.16_1, cairo 1.14.8, node v6.9.1, I get the following error while running `png image should match the reference image "1-noXlink.svg"`: ```...
Getting this error when running `brew install librsvg`: ``` Error: Failed to download resource "libtiff--patch" Download failed: https://mirrorservice.org/sites/ftp.debian.org/debian/pool/main/t/tiff/tiff_4.0.6-1.debian.tar.xz ``` Mac: 10.12.2 Node: 7.4.0 NPM: 4.0.5 Homebrew: 0.9.9
This allows image data with support in the backend to directly embedded instead of being rasterized. That way SVGs with embedded JPEGs for example become much smaller. Note: This currently...