NAME
Template::Flute::PDF::Image - PDF image class
SYNOPSIS
new Template::Flute::PDF::Image(
file
=>
$file
,
=>
$self
->{pdf});
CONSTRUCTOR
new
Create Template::Flute::PDF::Image object with the following parameters:
FUNCTIONS
info
Returns image information, see Image::Size.
width
Get image width:
$image
->width;
Set image width:
$image
->width(200);
Returns image width in both cases.
height
Get image height:
$image
->height;
Set image height:
$image
->height(100);
convert FORMAT
Converts image to FORMAT. This is necessary as PDF::API2 does support only a limited range of formats.
AUTHOR
Stefan Hornburg (Racke), <racke@linuxia.de>
LICENSE AND COPYRIGHT
Copyright 2011 Stefan Hornburg (Racke) <racke@linuxia.de>.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.