![]() |
Home
iRate! IceMelon IM Tutorials Headlines CoolSites PHP Functions |
Most Referenced Functions » google_pagerank() » preg_replace() » imagecreatefrompng() » site_pageranks() » imagepng() » imagedestroy() » imagestring() » imagecolorallocate() » htmlentities() » preg_match() » fopen() » header() » getimagesize() » htmlspecialchars() » ob_start() » strstr() » session_start() » preg_match_all() » ob_flush() » strpos() » flush() » setcookie() » str_replace() » array2vars() » nl2br() » preg_split() » ereg() » ereg_replace() » urlencode() » readgzfile() Become a sponsor for $15/month. Link is sitewide - PR5 homepage, 20+ PR4 pages, 90+ PR3 pages. Email dave[AT]icemelon[D0T]c0m. |
PHP Functions
Function: pdf_open_memory_image (PHP 3 >= 3.0.10, PHP 4, PECL) pdf_open_memory_image -- Opens an image created with PHP's image functionsDescriptionint pdf_open_memory_image ( resource pdfdoc, resource image )The pdf_open_memory_image() function takes an image created with the PHP's image functions and makes it available for the pdf resource. The function returns a pdf image identifier. Example 1. Including a memory image <?php $im = imagecreate(100, 100); $col = imagecolorallocate($im, 80, 45, 190); imagefill($im, 10, 10, $col); $pim = pdf_open_memory_image($pdf, $im); imagedestroy($im); pdf_place_image($pdf, $pim, 100, 100, 1); pdf_close_image($pdf, $pim); ?> Related Function(s) |