serverlesspub / imagemagick-aws-lambda-2

ImageMagick for AWS Lambda 2 runtimes
https://serverless.pub
Other
259 stars 162 forks source link

LIBRSVG Support #2

Closed DannyAziz closed 4 years ago

DannyAziz commented 5 years ago

I tried following the makefile from https://github.com/serverlesspub/rsvg-convert-aws-lambda-binary and added --with-rsvg=yes to the imagemagick ./configure but I still can't get this to work

Am I missing something?

albertgcsula commented 4 years ago

@DannyAziz you have to make sure either RSVG or inkscape are available in the execution path. From the docs here: "ImageMagick utilizes inkscape if its in your execution path otherwise RSVG. If neither are available, ImageMagick reverts to its internal SVG renderer. The default resolution is 96 DPI. Use -size command line option to specify the maximum width and height. If you want to render a very large SVG and you trust the source, enable this option: -define svg:xml-parse-huge=true."