hummusRecipe icon indicating copy to clipboard operation
hummusRecipe copied to clipboard

add option for SVG

Open benydc opened this issue 5 years ago • 2 comments

Hello,

I want to be able to insert an svg in the PDF file I want to modify.

Are you able to get this feature?

benydc avatar Aug 12 '18 15:08 benydc

Hi, @benydc

Just like Gal answers in https://github.com/galkahana/HummusJS/issues/310 As long as hummusJS supports it, it will be done here as well.

chunyenHuang avatar Aug 12 '18 23:08 chunyenHuang

I took a different approach since I really don't think anyone is going to add an SVG interpreter into hummus. Instead a took the svg2png library https://www.npmjs.com/package/svg2img and converted my SVG files into PNG ones and fed that to hummus-recipe.

shaehn avatar Sep 28 '19 21:09 shaehn