Created
July 16, 2012 03:27
-
-
Save while0pass/3120262 to your computer and use it in GitHub Desktop.
Converting images to pdfs and combining multiple pdfs into a single one in Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# converting image to pdf | |
sudo apt-get install imagemagick | |
convert cover.png cover.pdf | |
# combining multiple pdfs into a single one | |
sudo apt-get install gs pdftk | |
gs -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=combinedpdf.pdf -dBATCH cover.pdf ch1.pdf ch2.pdf ch3.pdf ix.pdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment