#Alternatives to mPDF

6 messages · Page 1 of 1 (latest)

glass path
#

I'm facing an issue with PDF concatenation in my Laravel API. I'm using mPDF to merge a system-generated PDF with a user-uploaded PDF, but when users upload PDFs with version higher than 1.4, I get this error:

"This PDF document probably uses a compression technique which is not supported by the free parser shipped with FPDI."

What are the best approaches to handle this in Laravel?

Has anyone dealt with this before?

wide grotto
#

Also I never new mpdf can merge directly, I always used another package for that

digital turret
#

I got fed up mucking around with pdf tools via command shell etc and ended up just spinning up a Gotenberg instance for pdf manipulation. Worth looking at, it’s been reliable so far.