Skip to content

does the magical pdf-to-pdf conversion popular in academic journal submission sites and does it faster than they do

Notifications You must be signed in to change notification settings

andrewkern/pdf2pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pdf2pdf

This software performs the magical pdf-to-pdf conversion popular in academic journal submission sites.

New speedup in version 2. Still runs in O(1) time, but now ~15% faster! Version 2 now requires you compile the C++ code fast.c thusly:

g++ fast.c -o fastpdf.

Requires imagemagick. It can probably be installed like this:

  • macOS: brew install imagemagick
  • Ubuntu: sudo apt-get install imagemagick

Usage

bash pdf2pdf.sh pdf_filename1 pdf_filename2 ...

The software first checks whether each file is actually a pdf file, and then converts the pdf files into slightly worse pdf's. It skips any files that are not pdf.

So, the following will convert all pdf files in the current folder: bash pdf2pdf.sh *

Output

Each listed pdf file will be converted to a lower-resolution pdf saved as "RandomNumber.pdf" in the current working directory.

About

does the magical pdf-to-pdf conversion popular in academic journal submission sites and does it faster than they do

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published