]> _ Git - cubist_pdf.git/commitdiff
wip #6615 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 16 Jan 2024 18:26:24 +0000 (19:26 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 16 Jan 2024 18:26:24 +0000 (19:26 +0100)
src/PDFTools.php

index 3d63db4df4e96425b19ffa04d3fd186ac8ec1dad..be317bad4e63b0382f5cdecde8430dc2998ba858 100644 (file)
@@ -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) {