Commit 2fc8a719 by lujunyi

签名垂直了

parent 549ae367
...@@ -182,7 +182,7 @@ public function search() ...@@ -182,7 +182,7 @@ public function search()
if ($prescription->doctor_signed_pic) { if ($prescription->doctor_signed_pic) {
$pharmacistSignPath = file_get_contents($prescription->doctor_signed_pic); $pharmacistSignPath = file_get_contents($prescription->doctor_signed_pic);
$doctorSign = Image::read($pharmacistSignPath); $doctorSign = Image::read($pharmacistSignPath);
$doctorSign->rotate(90); // $doctorSign->rotate(90);
$doctorSign->resize(150, 100); $doctorSign->resize(150, 100);
$img->place($doctorSign, 'bottom-left', 400, 410); $img->place($doctorSign, 'bottom-left', 400, 410);
} }
...@@ -190,7 +190,7 @@ public function search() ...@@ -190,7 +190,7 @@ public function search()
if ($prescription->pharmacist_signed_pic) { if ($prescription->pharmacist_signed_pic) {
$pharmacistSignPath = file_get_contents($prescription->pharmacist_signed_pic); $pharmacistSignPath = file_get_contents($prescription->pharmacist_signed_pic);
$pharmacistSign = Image::read($pharmacistSignPath); $pharmacistSign = Image::read($pharmacistSignPath);
$pharmacistSign->rotate(90); // $pharmacistSign->rotate(90);
$pharmacistSign->resize(150, 100); $pharmacistSign->resize(150, 100);
$img->place($pharmacistSign, 'bottom-left', 870, 410); $img->place($pharmacistSign, 'bottom-left', 870, 410);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment