0
votes

I have a issue of merging two pdf into one pdf. I am using FPDF + FPDI and also tried TCPDF + FPDI, However i had a problem when I am using pdf version > 1.4 The php error is : FPDF error: This document (pdf_dump/1407303457.pdf) probably uses a compression technique which is not supported by the free parser shipped with FPDI.

I do not want to use the commercial plugin of fpdi. Is there any work around available to work with pdf > 1.4 version.

NB: I am using codeigniter

Thank you.

2

2 Answers

1
votes

Have a look at this question.

You need to save your PDF as an earlier version, PDF 1.4 or lower, and then it should hopefully work with FPDF.


You can try the TCPDI Parser, it is a modified version of FPDI which should support PDF version > 1.4

1
votes

For symfony, I used this lib to convert pdf>1.4 to pdf1.4 :

https://packagist.org/packages/xthiago/pdf-version-converter