0) { $alpha = $attr['ALPHA']; } $size = 'D'; if (!empty($attr['SIZE'])) { $size = $attr['SIZE']; if (strpos($size, ',')) { $size = explode(',', $size); } } $pos = 'P'; if (!empty($attr['POSITION'])) { // mPDF 5.7.2 $pos = $attr['POSITION']; if (strpos($pos, ',')) { $pos = explode(',', $pos); } } $this->mpdf->SetWatermarkImage($src, $alpha, $size, $pos); } public function close(&$ahtml, &$ihtml) { } }