Large file size - any way to use original images?
Brought to you by:
tobias-elze
I have a single page PDF which is 68KB. When I run pdfsandwich -rgb test.pdf I get an output file which is 903KB!
A 92MB converts to over 600MB.
It looks like the background PNGs are being regenerated and aren't very well compressed. Is it possible to get pdfsandwich to use the original images from the original PDF? Or some other way to compress them?
Thanks for the brilliant tool
I think the answer lies at https://sourceforge.net/p/pdfsandwich/code/HEAD/tree/trunk/src/pdfsandwich.ml#l255
But I don't know enough to check.