Provides a CLI tool to remove all pages from PDFs that are prefixes of other pages
The tool takes an arbitrary amount of files and directories as command line arguments and processes all PDF files. The output files will have the same name as the input with a -trim suffix
example command:
python3 trim.py class01.pdfpypdfium2
I have repeatedly encountered a strange pdf "animation" at my university, where the animation is achieved by adding content line by line to newer pages. This tool is made to delete unnecessary pages made with this "animation"
The tool cannot understand pictures and makes comparisons only with text!