I am use ionic cordova plugin add cordova-plugin-camera obteing a image jpge but need convert to pdf. ¿How to convert a JPG to PDF?
I assume you must do this by ourself with help of a pdf creation lib… For example with jspdf, which has luckily on the start page an image showing how add an image to a pdf document. look here https://parall.ax/products/jspdf
Best regards, anna-liebt
Thank you..I’m going to try it
have an example of how to use it ionic
This incorporates signature capture and pdfMake.
The signature captured is a base64 jpeg and goes straight into the pdf.
Thank you. I modified the code and it worked for.