I am running the following code and giving me this error : FPDF error: This document (testcopy.pdf) probably uses a compression technique which is not supported by the
FPDF error: This document (testcopy.pdf) probably uses a compression technique which is not supported by the
In the case of Mac, you can open the PDF file in Preview and "export as PDF". The exported one can then be used.