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.
See also pdf_close_image(),
pdf_place_image().