pdfsizeopt
pdfsizeopt copied to clipboard
PDF file size optimizer
Hi, @pts. Perhaps you consider this to be the same issue as with issue #102, perhaps not. I had a file that contained only bilevel images that were actually deflated...
Hi, @pts. I recently got a file that was very large and, upon inspecting it, it had **a lot** of ASCII85 encoded content (the "real" content that the ASCII85 is...
When I run pdfsizeopt with Multivalent enabled using the included avian executable, I get an error: ``` > pdfsizeopt --use-multivalent=yes input.pdf output.pdf java/lang/ExceptionInInitializerError caused by: java/lang/NoSuchMethodError: sort ([I)V not found...
[This document](https://github.com/pts/pdfsizeopt/files/2412272/paper.pdf) contains 22 copies of slightly different embedded subsets of the same font (XXXXXX+LinBiolinumO), but pdfsizeopt is not able to merge them because they have /Subrs tables. In #97,...
The benefit is that after doing so, pdfsizeopt would depend only on open source and free software. pngout is the last non-free component. Requirements for the replacement of pngout: *...
Hi, @pts. I see that, in its current form, pdfsizeopt doesn't discard metadata that is embedded in a PDF document. For instance, if I start with the file [minimal.pdf](https://github.com/pts/pdfsizeopt/files/1902567/minimal.pdf) and...
This doesn't apply to images embedded to the PDF, but all calls to `zlib.compress` in *main.py*. Some of the Flate compressors are very slow, so we probably need some caching...
Hi, @pts. I have started to accumulate some new PDF files that show problems when they are processed with pdfsizeopt and one of them gives the following error (with the...
Ghostscript is used by pdfsizeopt for: * converting Type1 fonts to Type1C (CFF) in GenerateType1CFontsFromType1 (with Type1CConverter and psproc.TYPE1C_CONVERTER); https://github.com/pts/pdfsizeopt/issues/62 * parsing Type1C (CFF) font programs in ParseType1CFonts (with Type1CParser...
This would make the function RenderImages unnecessary. It's possible to make it work even with weird and complicated `/ColorSpace` values, because pdfsizeopt can do the image optimizations without understanding the...