summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSashi202020-06-29 17:30:45 +0530
committerSashi202020-06-29 17:30:45 +0530
commite2031d21fcf4d84be785b8d6b16df4d4d66b764a (patch)
treef232ded82a6061197745906038108e779777fb14
parent00a56d9c9f3e99e6d86506943449b43af69713df (diff)
downloadom_pssp-e2031d21fcf4d84be785b8d6b16df4d4d66b764a.tar.gz
om_pssp-e2031d21fcf4d84be785b8d6b16df4d4d66b764a.tar.bz2
om_pssp-e2031d21fcf4d84be785b8d6b16df4d4d66b764a.zip
Resize qr code image
-rwxr-xr-xpdf/cert_new.inc2
-rwxr-xr-xpdf/mentor_cert_pdf.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/pdf/cert_new.inc b/pdf/cert_new.inc
index 9981950..43346de 100755
--- a/pdf/cert_new.inc
+++ b/pdf/cert_new.inc
@@ -112,7 +112,7 @@ function generate_pdf()
$pdf->SetY(80);
$pdf->SetX(300);
$pdf->Ln(30);
- $pdf->Image($pngAbsoluteFilePath, $pdf->GetX()+70 , $pdf->GetY() + 55, 28,28, 0);
+ $pdf->Image($pngAbsoluteFilePath, $pdf->GetX()+70 , $pdf->GetY() + 55, 24,24, 0);
$pdf->SetFont('Times', '', 14);
$pdf->Ln(48);
$pdf->SetX(95);
diff --git a/pdf/mentor_cert_pdf.inc b/pdf/mentor_cert_pdf.inc
index 19945e6..e40de30 100755
--- a/pdf/mentor_cert_pdf.inc
+++ b/pdf/mentor_cert_pdf.inc
@@ -110,7 +110,7 @@ function generate_pdf()
$pdf->SetX(29);
$pdf->SetY(-65);
$pdf->Ln(13);
- $pdf->Image($pngAbsoluteFilePath, $pdf->GetX() + 75, $pdf->GetY(), 30, 0);
+ $pdf->Image($pngAbsoluteFilePath, $pdf->GetX() + 75, $pdf->GetY(), 24, 0);
$filename = str_replace(' ', '-', $data3->project_guide_name) . '-OpenModelica-PSSP-Mentor-Certificate.pdf';
$file = $path . '/pdf/temp_certificate/' . $proposal_id . '_' . $filename;
$pdf->Output($file, 'F');