You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compliance | pdf1.7
Result | Document does not conform to PDF/A.
Details | Validating file "test.pdf" for conformance level pdf1.7
The "Length" key of the stream object is wrong.
The "endobj" keyword is missing.
The value of the key SMask must not be of type dictionary.
The image's sample stream's computed length 43200 is different to the actual length 14400.
The document does not conform to the requested standard.
The file format (header, trailer, objects, xref, streams) is corrupted.
The document doesn't conform to the PDF reference (missing required entries, wrong value types, etc.).
The document does not conform to the PDF 1.7 standard.
Done.
Google Chrome (Version 92.0.4515.159 (Official Build) (64-bit)) opens the PDF and displays the image as expected.
When opening and saving the image with pikepdf (https://github.com/pikepdf/pikepdf) the image is not present in the newly saved version (this is the point I worked backwards from). My understanding is that pikepdf is using QPDF under the hood so it makes sense (to me) that there is an issue with the QPDF--check feature and pikepdf.
$ qpdf --version
qpdf version 9.1.1
Run qpdf --copyright to see copyright and license information.
$ pango-view --version
pango-view (pango) 1.44.7
$ weasyprint --info
System: Linux
Machine: x86_64
Version: #1 SMP Wed Feb 19 06:37:35 UTC 2020
Release: 4.19.104-microsoft-standard
WeasyPrint version: 53.1
Python version: 3.9.5
Pydyf version: 0.1.1
Pango version: 14407
All of the above is on Windows 10 running Python in wsl2 (Ubuntu 20.04). I have reproduced 1 and 5 above in a Docker container running a ubuntu:21.04 image albeit with different html markup (but still images involved).
Please let me know if any additional information/testing would help in this regard.
The text was updated successfully, but these errors were encountered:
When creating a PDF with the following code:
Here is the resultant test.pdf.
test.pdf
in Adobe Acrobat Reader DC (Version 2021.005.20060) results in this error message:test.pdf
withQPDF
results in:Google Chrome (Version 92.0.4515.159 (Official Build) (64-bit)) opens the PDF and displays the image as expected.
When opening and saving the image with
pikepdf
(https://github.com/pikepdf/pikepdf) the image is not present in the newly saved version (this is the point I worked backwards from). My understanding is thatpikepdf
is usingQPDF
under the hood so it makes sense (to me) that there is an issue with theQPDF
--check
feature andpikepdf
.Software/library versions:
All of the above is on Windows 10 running Python in
wsl2
(Ubuntu 20.04). I have reproduced 1 and 5 above in a Docker container running aubuntu:21.04
image albeit with different html markup (but still images involved).Please let me know if any additional information/testing would help in this regard.
The text was updated successfully, but these errors were encountered: