Closed GoogleCodeExporter closed 8 years ago
Please update to r97 and try again. It should work.
By the way, the PDF generator is buggy, because it generates and RGB palette of
size
25 (with an extra \n at the end). Nevertheless, r97 of pdfsizeopt.py now
accepts this
buggy PDF, and ignores the extra \n.
Original comment by pts...@gmail.com
on 31 Oct 2009 at 9:23
Doesn't seem to be working:
user@ubuntu804server:~/pdfsizeopt$ ./pdfsizeopt.py vrabimintest.pdf
info: This is pdfsizeopt.py r101.
info: loading PDF from: vrabimintest.pdf
info: loaded PDF of 94956 bytes
info: separated to 39 objs
info: found 0 Type1 fonts loaded
info: found 0 Type1C fonts loaded
Traceback (most recent call last):
File "./pdfsizeopt.py", line 6121, in ?
main(sys.argv)
File "./pdfsizeopt.py", line 6107, in main
pdf.OptimizeImages(use_pngout=use_pngout, use_jbig2=use_jbig2)
File "./pdfsizeopt.py", line 4844, in OptimizeImages
if name == 'DecodeParms' and '/JBIG2Globals' in value:
TypeError: iterable argument required
The pdf generator is windows' acrobat 7.0.5 distiller (via the Adobe pdf
converter
printer driver in), printed from wolfram mathematica 6.0.0
Original comment by lev.bishop
on 31 Oct 2009 at 6:21
Please update to r102. It should work now.
Original comment by pts...@gmail.com
on 31 Oct 2009 at 7:37
Original comment by pts...@gmail.com
on 31 Oct 2009 at 7:37
Confirm fixed.
Original comment by lev.bishop
on 31 Oct 2009 at 8:00
Original issue reported on code.google.com by
lev.bishop
on 29 Oct 2009 at 6:54Attachments: