Friday, August 7, 2009

Convert images to PDF using ImageMagick

Make sure you have ImageMagick installed, then run:
convert foo.jpg foo.pdf Or to create a single pdf document with one page for each jpg: convert *.jpg -adjoin foo.pdf Will work with any image format that imagemagick understands. To see a list of the supported formats: identify -list format

No comments:

Post a Comment