hefronmedia / pdfsizeopt

Automatically exported from code.google.com/p/pdfsizeopt
0 stars 0 forks source link

pso.conv.mi.tmp.pdf does not correct #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
(Please add a label starting with Optimize- in ``Labels:'' below, and
remove this paragraph.)

(Please attach a small input PDF using ``Attach a file:'' below, and remove
this paragraph.)

What command do you run to optimize the PDF?

What does pdfsizeopt display when running the command above?

What's wrong with the optimized PDF?

What should be there in the optimized PDF instead?

Original issue reported on code.google.com by roc...@gmail.com on 31 Oct 2009 at 5:47

GoogleCodeExporter commented 9 years ago
sorry, the output is here(because of "comment is tool long", so the details is 
in the
attachment)

F:\2009\pdfsizeopt\win32>python pdfsizeopt.py
Seven.Steps.To.A.Successfull.Business.Plan.pdf

Traceback (most recent call last):
  File "pdfsizeopt.py", line 6121, in <module>
    main(sys.argv)
  File "pdfsizeopt.py", line 6114, in main
    pdf.SaveWithMultivalent(output_file_name)
  File "pdfsizeopt.py", line 5948, in SaveWithMultivalent
    data = self.FixPdfFromMultivalent(data)
  File "pdfsizeopt.py", line 5722, in FixPdfFromMultivalent
    obj_num_by_ofs_out=obj_num_by_in_ofs)
  File "pdfsizeopt.py", line 5475, in ParseSequentially
    objs=length_objs)
  File "pdfsizeopt.py", line 450, in __init__
    (endstream_str, file_ofs + stream_end_idx))
__main__.PdfTokenParseError: expected endstream+endobj in '' at 4210

Original comment by roc...@gmail.com on 31 Oct 2009 at 6:32

Attachments:

GoogleCodeExporter commented 9 years ago
There is no Win32 version of pdfsizeopt.py! Please run everything on Linux (or
another Unix system) first, and attach both run logs (Unix and Windows) to your 
bug
reports. Please also attach the input PDF to your bug report, even if you have
attached the same PDF previously to other bug reports.

Original comment by pts...@gmail.com on 31 Oct 2009 at 7:36