Connecting Tech Pros Worldwide Forums | Help | Site Map

Inserting(adding) images to pdf

Newbie
 
Join Date: Oct 2007
Posts: 1
#1: Jan 15 '08
Hi

Is there any way to insert images into pdf through ror. I have
tried pdf:writer and used pd.image.Still I am not getting the result. It
is said that images are not supported by the pdfwriter.rb file I am
using.

Earlier I was not able to insert tables but including Simpletable.rb
file solved my problem.

So my doubt is there any extra file needed for inserting images?.

Any help will be greatly appreciated

acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,581
#2: Jul 4 '08

re: Inserting(adding) images to pdf


See the manual. If #image doesn't work, try #add_image or #add_image_from_file. You may also find the demos useful.
Reply


Similar Ruby / Ruby on Rails bytes