On Tue, 2 Nov 2010 08:53:45 +0900
"Buddy Lindsey, Jr." <percent20 / gmail.com> wrote:

> Hi All,
> 
> I am wanting to write a script to convert a series of images into a
> pdf file. The main question is what would be the best ruby gem to use
> for doing this? I was looking at prawn, but not sure it would fit
> best. I have heard something about imagemagik, but not too sure. Any
> ideas and thoughts would be appreciated.

ImageMagick's (http://www.imagemagick.org/) command line tool simply
type (or run with ruby's system method):

 convert image.jpg document.pdf

Using the ruby interface to Imagemagick (rmagick.rubyforge.org):

 require 'rubygems'
 require 'RMagick'
 Magick::Image.read('image.jpg').first.write('document.pdf')


Martin





> Thanks.
> 
> ---
> Buddy Lindsey
> http://www.buddylindsey.com
> http://www.twitter.com/buddylindsey



-- 
Internet Technologies Angola / MAXNET
Tel:    +244 (227) 286 000 / (924) 770 290 / (924) 770 291
Skype: internet-technologies-angola
Mobile: Namibia +264 816 438776 (Angola +244 927 986444)
Mail: martin / internet.ao