| Issue 44: | PDF 1.5 Cross Reference Streams | |
| 2 people starred this issue and may be notified of changes. | Back to list |
Virtually all PDFs produced by recent versions of pdflatex can not be processed by pdfsizeopt on account of them containing cross reference streams. This results in errors such as:
Traceback (most recent call last):
File "pdfsizeopt.py", line 6186, in <module>
main(sys.argv)
File "pdfsizeopt.py", line 6162, in main
).Load(file_name)
File "pdfsizeopt.py", line 2991, in Load
data, do_ignore_generation_numbers=self.do_ignore_generation_numbers)
File "pdfsizeopt.py", line 3076, in ParseUsingXref
'PDF-1.5 cross reference streams not implemented')
NotImplementedError: PDF-1.5 cross reference streams not implemented
Given that pdflatex is starting to use these by default (unless \pdfminorversion=4 or below) it would be nice to see them supported.
Jun 5, 2011
Project Member
#1
pts...@gmail.com
Labels:
-Type-Defect Type-Enhancement
Jun 5, 2011
File attached.
Jun 6, 2011
Thank you for adding this feature request and for the example PDF. PDF 1.5 cross-reference stream (xref stream) and object stream parsing support has been added in r162. Please svn update, try it with your PDFs and report any problems in this issue.
Status:
Fixed
Jun 18, 2011
Thank you very much for 1. this great script !!! 2. adding cross-reference-streams, so I can use it without complications with texlive! |