Re: RE: [iText-questions] testing for jpeg encoding

2003-06-25 Thread Cinzia
Hall' <[EMAIL PROTECTED]>, Cinzia S ><[EMAIL PROTECTED]>, [EMAIL PROTECTED] > Subject: RE: [iText-questions] testing for jpeg encoding > > It also works for getInstance(byte[]). > > Best Regads, > Paulo Soares > > > -Original M

RE: [iText-questions] testing for jpeg encoding

2003-06-25 Thread Paulo Soares
It also works for getInstance(byte[]). Best Regads, Paulo Soares > -Original Message- > From: Mark Hall [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, June 25, 2003 14:06 > To: Cinzia S; [EMAIL PROTECTED] > Subject: Re: [iText-questions] testing for jpeg encoding >

Re: [iText-questions] testing for jpeg encoding

2003-06-25 Thread Mark Hall
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 25 June 2003 13:04, Cinzia S wrote: > I'm sorry Paulo, but I don't get it, in JAI I'm encoding an image so that I > get a jpeg encoded format, RTF accepts jpgs so it should be happy with it. > The only way to add this to an RTF document is

RE: [iText-questions] testing for jpeg encoding

2003-06-25 Thread Paulo Soares
25, 2003 12:04 > To: Paulo Soares; [EMAIL PROTECTED] > Subject: Re: [iText-questions] testing for jpeg encoding > > I'm sorry Paulo, but I don't get it, in JAI I'm encoding an image so that > I > get a jpeg encoded format, RTF accepts jpgs so it should be ha

Re: [iText-questions] testing for jpeg encoding

2003-06-25 Thread Cinzia S
; To: "'Cinzia S'" <[EMAIL PROTECTED]>; "Paulo Soares" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, June 25, 2003 10:56 AM Subject: RE: [iText-questions] testing for jpeg encoding > > > > -Original Message- > >

RE: [iText-questions] testing for jpeg encoding

2003-06-25 Thread Paulo Soares
> -Original Message- > From: Cinzia S [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, June 25, 2003 11:01 > To: Paulo Soares; [EMAIL PROTECTED] > Subject: Re: [iText-questions] testing for jpeg encoding > > Does this mean that > 1) plain RGB is not a jpeg th

Re: [iText-questions] testing for jpeg encoding

2003-06-25 Thread Cinzia S
TED]> Sent: Wednesday, June 25, 2003 10:46 AM Subject: RE: [iText-questions] testing for jpeg encoding > When the jpeg is loaded by JAI it's converted to plain RGB. You'll have to > save it again to jpeg with JAI. > > Best Regards, > Paulo Soares > > > -Or

RE: [iText-questions] testing for jpeg encoding

2003-06-25 Thread Paulo Soares
> Subject: [iText-questions] testing for jpeg encoding > > Hi, > > I'm trying to add a jpeg image to an rtf document. First I read in a jpg, > scale it and output it to a ByteArrayOutputStream (using JAI). However, > when > I convert this image data to an instance of c

[iText-questions] testing for jpeg encoding

2003-06-25 Thread Cinzia S
Hi, I'm trying to add a jpeg image to an rtf document. First I read in a jpg, scale it and output it to a ByteArrayOutputStream (using JAI). However, when I convert this image data to an instance of com.lowagie.text.Image and test for its type, it doesn't seem to be recongized as a jpeg, but as ra