PHP 忒聊
綴豖
ヶ輛
pdf_open_memory_image
(PHP 3 = 3.0.10, PHP 4)
Description
The pdf_open_memory_image() function takes an image created with the PHP's image functions and makes it available for the pdf object. The function returns a pdf image identifier.
瞰赽 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);?
See also pdf_close_image(), pdf_place_image().
綴豖
れ萸
ヶ輛
pdf_open_jpeg
奻珨撰
pdf_open_pdi_page