Problem with PDF file genreated by Notes application on maCOS

Tom Kacvinsky <[email protected]> Sat, 21 Jul 2018 15:40:34 -0400
Newsgroups gmane.comp.printing.ghostscript.devel
Message-ID <CAG_eJLfq2W5zc=kZG5WuG5BTz1uWLYuOTQYeuL2jyNyLe=KHhg@mail.gmail.com>
HI all,

I have  PDF file generated by the Notes application on macOS.

I *think* I have narrowed it down to the following objects which cause a
problem (PyPDF2 barfs on these objects, anyway);

12 0 obj
<< /Length 13 0 R /Type /XObject /Subtype /Image /Width 0 /Height 0
/ColorSpace
/BitsPerComponent 16 /Filter /FlateDecode >>
stream
<binary date>
endstream
endobj

10 0 obj
<< /Length 11 0 R /Type /XObject /Subtype /Image /Width 0 /Height 0
/ColorSpace
/BitsPerComponent 16 /Filter /FlateDecode >>
stream
<binary data>
endstream
endobj

14 0 obj
<< /Length 15 0 R /Type /XObject /Subtype /Image /Width 0 /Height 0
/ColorSpace
/BitsPerComponent 16 /Filter /FlateDecode >>
stream
<binary data>
endstream
endobj

The indirect references for /Length all contain 8.  These just doesn't look
like valid PDF objects.

I can provide the PDF file off list, as well as the ghostscript error
message when reading the PDF files.

Thanks,

Tom