আমি fpdf দিয়ে একটা ছবিকে পিডিএফ বানাবো। কিন্তু আমি যখন ছবিটাকে কোন ফোল্ডারে রাখছি তখন তাকে পিডিএফ বানাতে পারছি না। URL দিলে নিচ্ছে না।

$pdf = new FPDF();
$pdf->AddPage();
$pdf->SetFont('arial',"B");
$pdf->SetTextColor(47,161,45);
$pdf->Image('./photo/logo.jpg',10,10,-300);
$pdf->Cell(0,10,"Welcome",1,0,"C");

asked 03 Jan, 07:10

saddam019's gravatar image

saddam019
1137

edited 03 Jan, 07:25

Mosharraf%20Hosain's gravatar image

Mosharraf Hosain ♦
16618

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×53
×4
×1

question asked: 03 Jan, 07:10

question was seen: 110 times

last updated: 03 Jan, 07:25