Comments (1)
The free version of one of the dependancies FPDI only allows processing PDF files up to version 1.4. You can use GHOSTSCRIPT to convert any PDF file to version 1.4 before processing it with FPDI.
$gsCmd = 'gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -sOutputFile="' . $newFile . '" "' . $currentFile . '"';
exec($gsCmd);
from php-pdf-merge.
Related Issues (15)
- Unable to find PDF file header error
- it will work fine with merging whole pdf but when i print specific page from pdf for merging it will print blank page HOT 1
- licence
- Declaration of setasign\Fpdi\FpdfTplTrait::setPageFormat($size, $orientation) should be compatible with TCPDF::setPageFormat($format, $orientation = 'P')
- Issue when merge HOT 1
- Wrong docblock
- This PDF document probably uses a compression technique which is not supported by the free parser shipped with FPDI.
- appear at the top of the black line HOT 1
- Fatal error: Uncaught Exception: Could not locate PDF HOT 1
- Error when setting the pages to be merged
- xref table error HOT 2
- itbz/fpdf is abandoned HOT 1
- links broken after merge
- This pdf document probably uses a compression technique which is not supported HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-pdf-merge.