pdfc
pdfc copied to clipboard
Simple python script to compress PDF
Compress PDF... Compression by -62%. Final file size is 5.17234MB Done.
Hi. **PROBLEM:** > The program erases the PDF with a blank page when using the same paths for the input and output file. **SOLUTION:** > I added samo changes so...
Compress PDF... Traceback (most recent call last): File "D:\файлы\pdf-compress\pdf-comp\app.py", line 2, in compress('Скан_20230722.pdf', 'Скан_20230722comp.pdf', power=4) File "D:\файлы\pdf-compress\pdf-comp\src\pdf_compressor.py", line 47, in compress subprocess.call( File "C:\Users\pikaa\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 389, in call with Popen(*popenargs,...
Hi. This is a simple windows script that does batch compression jobs over all the pdfs in the dir and subdir. I saw that someone was talking about this. Because...
Hi. **PROBLEM:** > Sometimes the compression doesn't actually do much and the ratio percentage is negative. **SOLUTION:** > I added a simple if to check whether the ratio is negative...
I added a directory walk to look for all PDFs from the base dir on.
Set `-dEmbedAllFonts` and `-dSubsetFonts` options as `true`.