I want a text on each page of a pdf. This text is a html code that looks like <p style="color: #ff0000">blabla</p>
as to appear red on the final doc, I convert it in pdf (html2pdf lib) then I merge it (PyPDF2 lib) to each page of my pdf. ...but the merging is very slow !
My question would be : Is there a faster way to merge pdf than page.mergePage method of PyPDF2 ? (Or maybe is there a faster way to add my text to this pdf?)
Thanks ! (using python 2.7.5 on Windows 8)