I have not done with with rmagick, but I have with the command line utility
"convert."
Example - Creates some-0.jpg, some-1.jpg, etc (one for each page).
:$ convert some.pdf some.jpg
mark
On 8/7/06, Josh Kieschnick <jjkiesch@gmail.com>
wrote:>
> i am working on a catalog for our customers to order printing. i have
> worked a little bit with imagemagick and pdf_writer. currently i am
> uploading a pdf and an image for the preview of the file. i''m just
> wondering if there is a way to convert a page of the pdf to a jpeg so
> that i only have to upload once.
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
--
Mark Van Holstyn
mvette13@gmail.com
http://lotswholetime.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://wrath.rubyonrails.org/pipermail/rails/attachments/20060807/b6787ef8/attachment.html