You can set the DPI (Dots Per Inch) in jspdf by setting the density
property of the PDF object.
Here's an example code:
index.tsx269 chars17 lines
In the above example, doc.setDensity(300)
sets the DPI to 300. You can adjust the value to any DPI you want.
Note that the PDF file size will increase with higher DPI.
gistlibby LogSnag