Thanks for your response Matt.  Any idea why the following line would cause
my servlet to quit working?

  Image graph1GIF =
     Image.getInstance("https://192.168.1.61/new/graph1.gif";);

Thanks again,
Kenny

----- Original Message -----
From: "Matt Benson" <[EMAIL PROTECTED]>
To: "Kenny G. Dubuisson, Jr." <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Thursday, December 12, 2002 2:35 PM
Subject: Re: [iText-questions] Placing GIF's and JPEG's using ContentByte


> The methods in PdfContentByte take
> com.lowagie.text.Image arguments.  To get an instance
> of com.lowagie.text.Image from a GIF or JPEG you can
> use Image.getInstance(filename),
> Image.getInstance(fileURL), or
> new Image(fileURL).
>
> This is all self-evident from the Javadoc API, which I
> personally find to be of more immediate use than the
> tutorial.  I usually go to the tutorial and FAQ only
> when I can't make sense of what is supposed to happen
> based on the API.
>
> -Matt
>
>
> --- "Kenny G. Dubuisson, Jr." <[EMAIL PROTECTED]>
> wrote:
> > What not point me to it then?  I specifically asked
> > the question because I
> > couldn't find the answer and how it relates to
> > ContentByte stuff.  If the
> > same stuff mentioned in Chapter 6 of the tutorial
> > applies also the Advanced
> > iText, then also please just state that.  If you
> > could point me to a
> > specific location in the tutorial or FAQ that shows
> > exactly how to place a
> > GIF file in a document using ContentByte, then I
> > would greatly appreciated
> > it.
> > Kenny
> >
> > ----- Original Message -----
> > From: "Bruno" <[EMAIL PROTECTED]>
> > To: "Kenny G. Dubuisson, Jr."
> > <[EMAIL PROTECTED]>
> > Cc: <[EMAIL PROTECTED]>
> > Sent: Thursday, December 12, 2002 1:38 PM
> > Subject: Re: [iText-questions] Placing GIF's and
> > JPEG's using ContentByte
> >
> >
> > > Quoting "Kenny G. Dubuisson, Jr."
> > <[EMAIL PROTECTED]>:
> > >
> > > > Thanks.  Do you have a good example?  How do I
> > get my GIF/JPEG to an
> > > > "Image" class?
> > >
> > > There are lots of examples in the tutorial.
> > >
> > > Bruno
> > >
> >
> >
> >
> >
> -------------------------------------------------------
> > This sf.net email is sponsored by:
> > With Great Power, Comes Great Responsibility
> > Learn to use your power at OSDN's High Performance
> > Computing Channel
> > http://hpc.devchannel.org/
> > _______________________________________________
> > iText-questions mailing list
> > [EMAIL PROTECTED]
> >
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
>



-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to