When I tried inserting an image with PHP and FPDF, the image is not shown in PDF as the original.
I have got fPDF from this link
Used the below code from the above link
require('lib/fpdf.php');
$image = MEDIA_DIR."uploads/".$report_img.".png";
$pdf = new FPDF();
$pdf->AddPage();
$pdf->Image($image,10,10,200,500);
$pdf->Output();
I was not able to load 1000px*10000px size image as it is, it shows as compressed.
How to increase the paper size as per my image size?