Hi,
Thanks for JSPDF , it is an amazing library. I had a specific use case in which apart from creating PDF from the HTML , I had to provide a header and a footer image on each page of the generated PDF. The most obvious way to do it was to call the addImage function from within addPage. It works well but the problem is that ultimately I need to save this PDF and when I use the pdf.output API with 'datauristring' , the size of the generated PDF is huge .I have checked the content + header + footer size and there is a 10x difference between the individual sum and the size of data returned from output API. Also when I use the same image as header and footer this issue does not occur, so it occurs only when I give seperate images as header and footer. I know that this is a very specific case , but any help would be appreciated.
Thanks.