I have an problem with PDFLib and PHP.
I'm trying to include images in PDF file using pdf_open_image_file
If in my source code is line:

$o=pdf_open_image_file($pdf,"gif","pict.gif");

i get the error: Cannot find server or DNS Error (The page cannot be
displayed). What's wrong.

    2 months later

    I use pdflib 4 beta, and my open_image looks like:

    pdf_open_image_file ($pdf, \\"gif\\", \\"name.gif\\", \\"\\", 0);

    The last two args are used for options related to masks I think, I did not need them last night when I was starting out with pdflib.

    Dan

      Write a Reply...