PDF::API2::Resource::XObject::Image - PDF::API2::Resource::XObject::Image documentation


PDF-API2 documentation  | view source Contained in the PDF-API2 distribution.

Index


NAME

Top

PDF::API2::Resource::XObject::Image

METHODS

Top

$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

Top

Alfred Reibenschuh


PDF-API2 documentation  | view source Contained in the PDF-API2 distribution.