PDF::API2::PDF::ImageJPEG

        $img = PDF::API2::PDF::ImageJPEG->new $pdf,$name, $filename
                

Returns a new image object.