Sign In | Register Now About Bytes | Help | Site Map
Connecting Tech Pros Worldwide

Inserting(adding) images to pdf

Question posted by: 55abhimanyu (Newbie) on January 15th, 2008 03:54 AM
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
acoder
Site Moderator
11,508 Posts
July 4th, 2008
11:09 AM
#2

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
Reply
Not the answer you were looking for? Post your question . . .
189,086 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

Latest Articles: Read & Comment
Top Ruby / Rails Forum Contributors