The image stamp class allows you to stamp PNG, JPEG, JPEG2000 and GIF images.
An instance could be created by simply passing an image instance to its constructor:
$image = \SetaPDF_Core_Image::getByPath('files/pdfs/camtown/Logo.png'); $imageStamp = new \SetaPDF_Stamper_Stamp_Image($image);
Beside the general stamp properties the image stamp class offers following properties that allow you to define its dimensions:
Get the stamp dimension.
Get the height of the image stamp.
Get the width of the image stamp.
Set the dimensions of this stamp.
Set the individual height if the image stamp.
Set the individual width of the image stamp.