Manpages
Menu
Close menu
Search
Browse
Releases
26.10
(stonking)
26.04 LTS
(resolute)
25.10
(questing)
24.04 LTS
(noble)
22.04 LTS
(jammy)
20.04 LTS
(focal)
18.04 LTS
(bionic)
16.04 LTS
(xenial)
14.04 LTS
(trusty)
Ubuntu Manpages
Close
Search
trusty
man(3)
PDF::API2::Resource::XObject::Image.3pm.gz
PDF::API2::Resource::XObject::Image
image support for PDF::API2
Provided by:
libpdf-api2-perl (Version: 2.020-2)
Report a bug
METHODS
$res = PDF::API2::Resource::XObject::Image->new $pdf, $name
Returns a image-resource object. base class for all types of bitmap-images.
$res = PDF::API2::Resource::XObject::Image->new_api $api, $name
Returns a image resource object. This method is different from 'new' that it needs an PDF::API2-object rather than a Text::PDF::File-object.
$wd = $img->width
$ht = $img->height
$img->smask $smaskobj
$img->mask @maskcolorange
$img->imask $maskobj
$img->colorspace $csobj
$img->filters @filternames
$img->bpc $num
AUTHOR
Alfred Reibenschuh