in reply to Images with PDF::Builder
The call to sub nextPage() on line 37 initialises the objects
poj#!/usr/bin/perl use strict; use PDF::Builder; my $pdf = PDF::Builder->new(); my $page = $pdf->page(); my $img_obj = $pdf->image_jpeg('myimage.jpg'); my $grfx = $page->gfx(); $grfx->image($img_obj, 5,5, 500,500); $pdf->saveas('new.pdf');
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Images with PDF::Builder
by Stickybit (Novice) on Nov 04, 2019 at 10:48 UTC |