diff options
author | Sashi20 | 2020-06-29 17:32:52 +0530 |
---|---|---|
committer | GitHub | 2020-06-29 17:32:52 +0530 |
commit | 9126f151130de6644914a6b72ea02a61e9d6e196 (patch) | |
tree | f232ded82a6061197745906038108e779777fb14 | |
parent | eb9e82620fbc72b9c906ca8ad76cd0ebbd1f88b5 (diff) | |
parent | e2031d21fcf4d84be785b8d6b16df4d4d66b764a (diff) | |
download | om_pssp-9126f151130de6644914a6b72ea02a61e9d6e196.tar.gz om_pssp-9126f151130de6644914a6b72ea02a61e9d6e196.tar.bz2 om_pssp-9126f151130de6644914a6b72ea02a61e9d6e196.zip |
Merge pull request #15 from Sashi20/master
Resize qr code image
-rwxr-xr-x | pdf/cert_new.inc | 2 | ||||
-rwxr-xr-x | pdf/mentor_cert_pdf.inc | 2 |
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'); |