i am having issues to add image on pdf file using tcpdf. my image is rendered by php script.
below is the script call mode: (worked well when directly check on browser):
./Image.php?t=1049&e=100003&i=25040907060040
but when i try to add using tcpdf using below code:
$pdf->Image('./Image.php?t=1049&e=100003&i=25040907060040', '', '', 20, 20, 'jpg', '', 'T', false, 300, '', false, false, 0, false, false, false);
it fails with following errors:
Error 1:
Warning: getimagesize(./Image.php?t=1049&e=100003&i=25040907060040): failed to open stream: No error in .\Classes\tcpdf\include\tcpdf_images.php on line 171
Error 2:
Warning: imagecreatefromjpeg(./Image.php?t=1049&e=100003&i=25040907060040): failed to open stream: No error in .\Classes\tcpdf\tcpdf.php on line 7033
so, how can i add image using above php script (Image.php)?
thanks in advance