Monday, August 13, 2012

Combine multiple PNG files onto one PDF with ImageMagick

With ImageMagick you can easily convert multiple image files into one PDF.  Place all of your images into the same directory and name them something like: image001.png, image002.png, etc.  Then do:
convert *.png outfile.pdf
You should now have a pdf file comprised of your image files in the proper order.  Make sure you name the files correctly with leading zeros, or else image1.png will end up next to image100.png.


No comments: