Last active
April 16, 2016 07:42
-
-
Save spikeekips/0a2370d948a122e06e2170f609805557 to your computer and use it in GitHub Desktop.
Convert multiple images to pdf
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
# from http://xmodulo.com/convert-jpg-image-file-to-pdf-format-on-linux.html | |
# install ghostscript | |
gs -sDEVICE=pdfwrite -o output.pdf /usr/share/ghostscript/8.71/lib/viewjpeg.ps -c "(intput1.jpg) viewJPEG showpage (input2.jpg) viewJPEG showpage (intput3.jpg) viewJPEG showpage" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment