I am using this code to take an image as input and print it on a pdf using FPDF but I am getting error while adding any image format like jpeg,jpg,png,gif.
Error:
Warning: getimagesize(arc.jpg): failed to open stream: No such file or directory in E:\xampp\htdocs\CV Builder\assets\fpdf\fpdf.php on line 1202 FPDF error: Missing or incorrect image file: arc.jpg
My code is
$pdf->Image($_POST['pic'],10,10,-300);