note 48796 deleted from function.pdf-open-image-file by betz
| From: | betz@php.net | Date: | Wed, 08 Feb 2006 19:15:26 +0000 |
| Subject: | note 48796 deleted from function.pdf-open-image-file by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-103331@lists.php.net to get a copy of this message | ||
Note Submitter: wizardhtml at hotmail dot com
----
The PHP.net manual may still be telling the truth, but...the last two parameters are not optional
anymore in the full version of PDFLib 6.0.1.
So pdf_open_image_file($pdf, "jpeg", SYSTEM_ROOTPATH
."/documents/pdf/images/somelogo.jpg");
won't work, whereas:
pdf_open_image_file($pdf, "jpeg", SYSTEM_ROOTPATH
."/documents/pdf/images/somelogo.jpg", "", 0);
will.