it-tools icon indicating copy to clipboard operation
it-tools copied to clipboard

PDF compressor

Open BitShifterTom opened this issue 2 months ago • 1 comments

What type of request is this?

New tool idea

Clear and concise description of the feature you are proposing

Sometimes when uploading a PDF document to Company or Email-Service, the size of accepted files is limited (i.e. 5MB or 20MB). Compressing the PDF file is needed before.

Is their example of this tool in the wild?

Under Linux, I use Ghostview to compress such files:
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/prepress -dNOPAUSE -dQUIET -dBATCH -sOutputFile=document_compressed.pdf document.pdf

Not tested: It shall be possible with Qpdf too: qpdf --compress-streams=y --object-streams=generate document.pdf document_compressed.pdf

Additional context

No response

Validations

  • [x] Check the feature is not already implemented in the project.
  • [x] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
  • [x] Check that the feature can be implemented in a client side only app (IT-Tools is client side only, no server).

BitShifterTom avatar Nov 03 '25 13:11 BitShifterTom

Hi @BitShifterTom , @LMieldazis, implemented: https://sharevb-it-tools.vercel.app/pdf-compressor

And if you are interested in an up to date version of it-tools, with many improvements, new tools, and bug fixes, as this repo is almost no more maintained, I made a fork here : https://github.com/sharevb/it-tools (https://sharevb-it-tools.vercel.app/ and docker images https://github.com/sharevb/it-tools/pkgs/container/it-tools)

sharevb avatar Nov 29 '25 12:11 sharevb