Skip to content

furtib/pdfTrim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

pdfTrim

Provides a CLI tool to remove all pages from PDFs that are prefixes of other pages

User documentation:

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.pdf

Dependencies

pypdfium2

Why?

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"

How does it work?

The tool cannot understand pictures and makes comparisons only with text!

About

Provides a cli tool to remove all pages from pdfs that are prefixes of other pages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages