What are the parameters that I should pass? The Ghostscript version I\'m using is 8.71.
alternatively on some linux distros convert pic1.jpg pic2.jpg out.pdf does the job with mixed results
convert pic1.jpg pic2.jpg out.pdf