Skip to content

Comment on Show HN: A tool to create printable UI mockups and wireframes templatesparent

Comments

eg312OP

The blurriness is a problem… With the pdf library I’m using (jsPDF) I cannot export the SVG directly so I convert it to an image and then embed the image in the pdf. To solve the problem, I can increase the converted image’s resolution but then the pdf becomes huge (~20 MB, for example). There is a ‘quality’ parameter in the code, maybe I’ll expose it in the UI and you can find an optimum value. I’ll try to find a way to export or ‘write’ the svg data directly in the pdf, I think it’s the best way to do it.

Can you convert to eps from the SVG and then whack the eps into a PDF?

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.