Re: Problem with PDF file genreated by Notes application on maCOS

Ken Sharp <[email protected]> Sat, 21 Jul 2018 21:04:23 +0100
Newsgroups gmane.comp.printing.ghostscript.devel
Message-ID <[email protected]>
At 15:40 21/07/2018 -0400, Tom Kacvinsky wrote:


>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


An Image XObject with a Width and Height of 0 is pointless, but not 
actually invalid.

The lack of a value to associate with the ColorSpace key, however makes 
these invalid.


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

If you think you've found a bug in Ghostscript, then please report a bug. 
This forum is for discussing Ghostscript development, not bug reports.

I'm also unclear on why you think this is our bug.


                 Ken