FPDI 2.4.0 released!2023-07-26
With the release of FPDI 2.4.0 it is possible to import PDF pages into FPDF, tFPDF or TCPDF while keeping external links. To activate this feature just set the new $importExternalLinks parameter of the importPage() method to true:
$pageId = $pdf->importPage(
$pageNo,
PageBoundaries::CROP_BOX,
true,
true // <- $importExternalLinks
);
You can see this behavior in action in this new demo.
Beside this we also optimized a fallback for FlateDecode filtered streams.
Check the release notes of the component below.
FPDI
Version 2.4.0
Release date: 2023-07-24
FPDI
Feature
- Add support for importing external links/link annotations with an URI action.
Tweak
- Use window size of 31 in decompression fallback for FlateDecode filter.
