Péter Szabó
Péter Szabó
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...
This affects the function GetUncompressedStream, which currently calls Ghostscript for any compressed stream except for a single call to `/FlateDecode` without a predictor. These are the filters: * `/ASCIIHexDecode`. Implementing...
If `pdfsizeopt_libexec/png22pnm` called by `pdfsizeopt_libexec/sam2p` fails, then `pdfsizeopt_libexec/sam2p` also calls the `pngtopnm` tool on the system: ``` sam2p: Error: Filter::PipeE: system() failed: (png22pnm -rgba /tmp/tmp__sam2p__16767_0 || (pngtopnm
This is a feature request. Currently pdfsizeopt fails wit the message `encrypted PDF input not supported` when it encounters an encrypt or password-protected PDF input file. It should be able...
ISO-32000-1 needs an end-of-line marker in front of endstream, but pdf_reference_1-7.pdf says it's optional. Currently the output of pdfsizeopt conforms to pdf_reference_1-7.pdf . A new flag `--iso-pdf-output=yes` can be added...
Do it similarly as `/jbig2cachectx` does it in Ghostscript's *pdf_base.ps*.