Increase medical watermark size

This commit is contained in:
sas.fajri
2026-05-21 12:13:02 +07:00
parent 939e62d3c8
commit 0b87e2e7cd

View File

@@ -22,12 +22,12 @@ class MedicalCheckupReportPdf extends FPDF
$imgW = intval($info[0]);
$imgH = intval($info[1]);
$drawW = 136.0;
$drawW = 158.0;
$drawH = ($imgH / $imgW) * $drawW;
// Position tuned to match lab report reference.
$x = ($this->GetPageWidth() - $drawW) / 2;
$y = 98.0;
$y = 92.0;
$this->Image($this->watermarkPath, $x, $y, $drawW, $drawH, 'JPEG');
}