Hi all, My host has PDFLib 4.0.2 installed. What I want to do in PHP is to make the PDF file as small as possible using PDFLib. The file created in PHP at the moment exists of 2 pages, 1st page is text and the 2nd page is a page with 6 jpeg pictures of around 200 KB shown in a smaller size. The file is aroound 1024 KB. I see there is a function PDF_set_value where you can set 'compress' to a value from 0 to 9. Whatever value I set, the file size is always the same size. Is there a way to get the size smaller using PDFLib or is it not possible in PDFLib 4.0.2 ? Another possibility I see is to resize the pictures first and then add them in the PDF file I guess but I want to avoid this if possible. Any ideas ? Thanks Amator
Have a look here http://php.net/manual/en/book.pdf.php http://www-cgi.uni-regensburg.de/WWW_Server/Dokumentation/PDFlib/PDFlib-manual-5_02.pdf For DH Guys http://wiki.dreamhost.com/PDFlib any way it can help you http://www.pdflib.com/knowledge-base/
Thanks for the links but I went already trought the manual/knowledge base on ph.netp and pdflib ( also note I have version 4.0.2) There should besomething that I missed but what ?