You can create a cell like:
(您可以创建一个像这样的单元:)
//Cell
Cell(float w [, float h [, string txt [, mixed border [, int ln [, string align [,
boolean fill [, mixed link]]]]]]])
Then create image in same position:
(然后在相同位置创建图像:)
//Image
Image(string file [, float x [, float y [, float w [, float h [, string type [, mixed
link]]]]]])
Or:
(要么:)
$image1 = "img/image1.jpg";
$this->Cell( 40, 40, $pdf->Image($image1, $pdf->GetX(), $pdf->GetY(), 33.78), 0, 0, 'L', false );
Edit you code:
(编辑您的代码:)
$pdf->Cell(95,50,$pdf->MemImage(base64_decode($logo), 100, 50),1,0, 'C');
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…