?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)
;
?
|