function pdf open memory image


PDF_open_memory_imagePHP ManualPrevNextPDF_open_memory_imagePDF_open_memory_image -- Opens an image created with PHP's image functionsDescriptionint pdf_open_memory_image(int pdf document, int image); The PDF_open_memory_image() function takes an image created with the PHP's image functions and makes it available for the pdf document. The function returns a pdf image identifier. Example 1. Including a memory image 1  2 <?php 3 $im = ImageCreate(100, 100); 4 $col = ImageColorAllocate($im, 80, 45, 190); 5 ImageFill($im, 10, 10, $col); 6 $pim = PDF_open_memory_image($pdf, $im); 7 ImageDestroy($im); 8 pdf_place_image($pdf, $pim, 100, 100, 1); 9 pdf_close_image($pdf, $pim); 10 ?> 11  See also PDF_close_image(), PDF_open_jpeg(), PDF_open_gif(), PDF_execute_image(), PDF_place_image(), PDF_put_image().PrevHomeNextPDF_open_gifUpPDF_open_jpeg

Wyszukiwarka

Podobne podstrony:
function pdf open memory image
function pdf open memory image
function pdf open image file
function pdf open image file
function pdf open image
function pdf open gif
function pdf open file
function pdf open tiff
function pdf open jpeg

więcej podobnych podstron