I know there have been a lot of posts about these two but figured I'd address a glaring question I have. A designer of ours recently sent me a few files with TCPDF already tied in because a friend of him said it was "better".
In the past we have used FPDF for everything PDF generation in PHP but right off the bat I noticed an enormous glaring difference:
Filesize of fpdf.php: 46KB
filesize of tcpdf.php: 996 KB
note: the file sizes above are of the actual php file, not the PDF's generated.
I don't really have too much patience to sit down and look at all of the differences between the two but it doesn't seem it is worth the switch really for the huge file difference. Most on SO seem to really like TCPDF but what gives?
Main Question
Why the difference in size and should I be worried for my server having to load a 1MB file hundreds or thousands of times a day versus a 50KB file that does nearly the same thing? I am NOT saying my PDF file larger here folks. The filesize of the PHP script itself is the 1MB to 40Kb.