Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Images with PDF::Builder

by poj (Abbot)
on Sep 12, 2019 at 12:49 UTC ( [id://11106066]=note: print w/replies, xml ) Need Help??


in reply to Images with PDF::Builder

The call to sub nextPage() on line 37 initialises the objects

#!/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');
poj

Replies are listed 'Best First'.
Re^2: Images with PDF::Builder
by Stickybit (Novice) on Nov 04, 2019 at 10:48 UTC
    Thanks .. worked as a charm. :-)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11106066]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-04-19 23:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found