From c9ee320b89a10526000f7dee985239462bf8c17c Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Tue, 16 Jan 2024 19:26:24 +0100 Subject: [PATCH] wip #6615 @0.25 --- src/PDFTools.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/PDFTools.php b/src/PDFTools.php index 3d63db4..be317ba 100644 --- a/src/PDFTools.php +++ b/src/PDFTools.php @@ -396,7 +396,9 @@ class PDFTools $output = $pdftoppm->getOutput(); $errors = ['end of file inside dictionary', 'leftover args in content stream', - 'document stream is empty' + 'document stream is empty', + 'premature end of data segment', + 'corrupt jpeg data' ]; foreach ($errors as $error) { -- 2.39.5