I am using FPDF and FPDI to make PDF with a pre-uploaded PDF template. In Laravel.
I get the below error when I setSourceFile
for to make a new pdf.
ERROR
This PDF document probably uses a compression technique that is not supported FPDI.
$pdf = new \setasign\Fpdi\Fpdi();
$pdf->addPage();
$pdf->setSourceFile('My-Template-PDF.pdf');
Is there any technique that allows this pdf to be parsed?
or Is there any other way or workaround to parse compressed PDF?