my $pdf = PDF::API2::Simple->new( margin_left => 15, margin_top => 15, margin_right => 15, margin_bottom => 45, line_height => 12, ); $pdf->add_page(); #insert image $pdf->image ( '/path/to/image/one/image1.jpg', width => 612, height => 50, x => 0, y => $pdf->y - 50, ); $pdf->saveas('/path/to/pdf_file/filename.pdf');