Péter Szabó
Péter Szabó
Please also attach your the output file (`file.pdf.pdf`).
There may be 1 or more bugs in pdfsizeopt. For example, Ghostscript fails with the output `file.pso.pdf` of: ``` $ pdfsizeopt --use-pngout=no --do-optimize-fonts=no --do-optimize-images=yes file.pdf $ gsnd -dBATCH file.pso.pdf (fails)...
Unfortunately I don't have a copy of file.pdf anymore. Could you please upload it again?
I'm able to reproduce this bug with Ghostscript (`gsnd -dBATCH issue114.pso.pdf`). Ghostscript succeeds iff `pdfsizeopt -do-optimize-images=no` is specified. So there may be an image optimization bug somewhere in pdfsizeopt.
Ghostscript 9.26 reports the following error on *issue114.pso.pdf*: `**** Error: Incorrect object count in object stream.`. This may be unrelated.
It looks like that there is a bug with the latest *pdfsizeopt* with `--do-optimize-images=no --do-generate-object-stream=yes`. FYI Input file is *issue114.pdf* (78326925 bytes, 1023 pages). Conversions: ``` $ ./pdfsizeopt --use-pngout=no --do-optimize-fonts=no...
@jul059: Does this file (issue114.c1.c1fix1.pdf in https://www.mediafire.com/file/ho884noim37ler1/issue114.c1.c1fix1.pdf/file) work in Adobe Acrobat XI Pro? Ghostscript 9.26 seems to work with it. All I did was moving object 85456 outside of the...
There may be multiple different bugs: * Ghostscript 9.05 just needs all object streams to contain at most 65535 objects (each `issue114.c?.pdf` has more). * Ghostscript 9.26 seems to have...
@jul059: Could you please try these 2 PDFs in Adobe Acrobat XI Pro? https://www.mediafire.com/file/omzky589falmuhe/issue114.c2.pdf/file and https://www.mediafire.com/file/sx6rs2jmjfosax6/issue114.c3.pdf/file
I'd be happy to make this high priority and implement it soon, but for that pdfsizeopt would neet to get funding. Without funding I can't foresee that I'd use time...