Re:Show HN: A tool to create printable UI mockups and wirefr...
by eg312 on Wednesday July 24, 2019 @05:26PM
(#20519917)
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.
[ Parent
| on HN ]
Re:Show HN: A tool to create printable UI mockups and wirefr...
by bootloop on Wednesday July 24, 2019 @06:47PM
(#20520826)
This maybe? http://pdfkit.org/docs/vector.html#svg_paths