Steps to adding an image to a PDF page
Adding the PHP-Logo to a PDF page
<?php
    $gd_logo 
imagecreatefromjpeg("php-logo.jpg");
    
$logo pdf_open_memory_image($pdf_r$gd_logo);
    
$logo_w pdf_get_value($pdf_r"imagewidth"$logo);
    
imagedestroy($gd_logo);    
    
pdf_place_image($pdf_r$logoPAGE_WIDTH/- ($logo_w/2), PAGE_HEIGHT/21.0);
    
pdf_close_image($pdf_r$logo);
?>