I got it to work (sort of).  For a test I tried converting my GIF to a JPEG
and inserted that and the JPEG worked!  It must be something to do with my
GIF encoding.  I'm gonna try to get my GIF generated from another app and
see what happens.  Thanks all for your help.
Kenny

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


> Just for a test I replaced my GIF file with the iText logo off the web
site
> (and changed the size parameters on the addImage call) to see if it's my
GIF
> encoding.  No luck...I still can't get my servlet to run...still the blank
> page.
> Kenny
>
> ----- Original Message -----
> From: "Kenny G. Dubuisson, Jr." <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, December 12, 2002 2:49 PM
> Subject: Re: [iText-questions] Placing GIF's and JPEG's using ContentByte
>
>
> > It was something to do with HTTPS...I changed it to HTTP and now the
> servlet
> > will run with that line included (I'm one step closer...thanks).  But
now
> > when I try to add the image to the ContextByte using the following line,
> I'm
> > back to my problem of the servlet not running (just loads empty page in
> > browser).  Any more ideas?  Here is the line I'm using to add the image:
> >
> > cb.addImage(graph1GIF, 50, 0, 0, 20, 200, 200);
> >
> >  Thanks,
> > Kenny
> >
> > ----- Original Message -----
> > From: "Matt Benson" <[EMAIL PROTECTED]>
> > To: "Kenny G. Dubuisson, Jr." <[EMAIL PROTECTED]>;
> > <[EMAIL PROTECTED]>
> > Sent: Thursday, December 12, 2002 2:41 PM
> > Subject: Re: [iText-questions] Placing GIF's and JPEG's using
ContentByte
> >
> >
> > > Yeah, I can't explain it, but I would be surprised to
> > > find out that it didn't have something to do with the
> > > secured protocol.
> > >
> > > -Matt
> > >
> > > --- "Kenny G. Dubuisson, Jr." <[EMAIL PROTECTED]>
> > > wrote:
> > > > 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
> > >
> > >
> > > __________________________________________________
> > > 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
> >
>
>
>
> -------------------------------------------------------
> 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
>



-------------------------------------------------------
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