[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

inserting image to a pdf

arthur.olano@gmail.com

2/7/2005 2:45:00 PM

Hello list,

I a developing site page where there's link that creates an invoice in
pdf format(using lout and ghostscript), but my problem is, i would like
to insert an image on the pdf output file and i can't figure out how to
this.

is there any suggstion I can do this? is this any ruby Api to handle
this problem? any help would be much appreciated, thanks in advance!


Artotoy

6 Answers

Alexander Kellett

2/8/2005 9:10:00 AM

0

convert the image to eps. include it in the lout.
maybe rmagick can do this. if not use convert.
Alex

On Feb 7, 2005, at 3:45 PM, arthur.olano@gmail.com wrote:

> Hello list,
>
> I a developing site page where there's link that creates an invoice in
> pdf format(using lout and ghostscript), but my problem is, i would like
> to insert an image on the pdf output file and i can't figure out how to
> this.
>
> is there any suggstion I can do this? is this any ruby Api to handle
> this problem? any help would be much appreciated, thanks in advance!
>
>
> Artotoy
>



Christian Neukirchen

2/8/2005 1:20:00 PM

0

Alexander Kellett <ruby-lists@lypanov.net> writes:

> convert the image to eps. include it in the lout.
> maybe rmagick can do this. if not use convert.
> Alex

Rather, convert the image to png or jpeg, and use pdfTeX...

--
Christian Neukirchen <chneukirchen@gmail.com> http://chneuk...


Alexander Kellett

2/8/2005 1:39:00 PM

0

On Feb 8, 2005, at 2:20 PM, Christian Neukirchen wrote:
> Alexander Kellett <ruby-lists@lypanov.net> writes:
>
>> convert the image to eps. include it in the lout.
>> maybe rmagick can do this. if not use convert.
>> Alex
>
> Rather, convert the image to png or jpeg, and use pdfTeX...

tex is for wussies
real men (and gals) use lout

Alex



Christian Neukirchen

2/8/2005 4:20:00 PM

0

Alexander Kellett <ruby-lists@lypanov.net> writes:

> On Feb 8, 2005, at 2:20 PM, Christian Neukirchen wrote:
>> Alexander Kellett <ruby-lists@lypanov.net> writes:
>>
>>> convert the image to eps. include it in the lout.
>>> maybe rmagick can do this. if not use convert.
>>> Alex
>>
>> Rather, convert the image to png or jpeg, and use pdfTeX...
>
> tex is for wussies
> real men (and gals) use lout

Yeah, why do

png -pdftex-> pdf

if you can do

png -convert-> eps -lout-> ps -ps2pdf-> pdf

:P

> Alex
--
Christian Neukirchen <chneukirchen@gmail.com> http://chneuk...


Austin Ziegler

2/8/2005 7:13:00 PM

0

On Mon, 7 Feb 2005 23:45:15 +0900, arthur.olano@gmail.com
<arthur.olano@gmail.com> wrote:
> Hello list,
>
> I a developing site page where there's link that creates an invoice in
> pdf format(using lout and ghostscript), but my problem is, i would like
> to insert an image on the pdf output file and i can't figure out how to
> this.
>
> is there any suggstion I can do this? is this any ruby Api to handle
> this problem? any help would be much appreciated, thanks in advance!

I can't help right now, but I believe that PDF::Writer 0.2.0 (when
it's released ... soon) should be able to help with this, finally. I'm
going through and applying a number of bugfixes that are needed and
other enhancements.

-austin
--
Austin Ziegler * halostatue@gmail.com
* Alternate: austin@halostatue.ca


arthur.olano@gmail.com

2/10/2005 4:29:00 PM

0

Thank you guys! I have converted my image to eps then iserted it on
lout. It worked! thanks!