Re: [iText-questions] Using Images extracted from a pdf

2010-02-25 Thread Leonard Rosenthol
, February 25, 2010 2:44 PM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] Using Images extracted from a pdf I'm trying to do something and it seems I am getting, JPEG and PNG for the colorSpace returns me a string .. or DeviceGray or / DeviceRGB or / DeviceCMYK bu

Re: [iText-questions] Using Images extracted from a pdf

2010-02-25 Thread Fernando Gomes
Fernando Gomes [mailto:fernandogomes...@hotmail.com] > Sent: Tuesday, February 23, 2010 4:07 PM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] Using Images extracted from a pdf > > > i not want to transforme my pages in image.. > > its so.. &

Re: [iText-questions] Using Images extracted from a pdf

2010-02-24 Thread Fernando Gomes
>> Date: Tue, 23 Feb 2010 06:52:54 -0800 >> From: fernandogomes...@hotmail.com >> To: itext-questions@lists.sourceforge.net >> Subject: Re: [iText-questions] Using Images extracted from a pdf >> >> >> can anyone help-me one mo

Re: [iText-questions] Using Images extracted from a pdf

2010-02-24 Thread Fernando Gomes
- is for you to learn about > PDF and image formats... > > Leonard > > -Original Message- > From: Fernando Gomes [mailto:fernandogomes...@hotmail.com] > Sent: Tuesday, February 23, 2010 4:07 PM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-question

Re: [iText-questions] Using Images extracted from a pdf

2010-02-23 Thread Leonard Rosenthol
y shortcut - is for you to learn about PDF and image formats... Leonard -Original Message- From: Fernando Gomes [mailto:fernandogomes...@hotmail.com] Sent: Tuesday, February 23, 2010 4:07 PM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] Using Images extracted fro

Re: [iText-questions] Using Images extracted from a pdf

2010-02-23 Thread Fernando Gomes
r to pdf2text to extract text. > > > > > > > > >> Date: Tue, 23 Feb 2010 12:43:28 -0800 >> From: fernandogomes...@hotmail.com >> To: itext-questions@lists.sourceforge.net >> Subject: Re: [iText-questions] Using

Re: [iText-questions] Using Images extracted from a pdf

2010-02-23 Thread Mike Marchywka
il.com > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] Using Images extracted from a pdf > > > I'm going crazy with it. as you can see, I never manipulated images as low > level. and do not have much sense of how things work. I am searching for a &

Re: [iText-questions] Using Images extracted from a pdf

2010-02-23 Thread Fernando Gomes
:fernandogomes...@hotmail.com] > Sent: Tuesday, February 23, 2010 3:21 PM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] Using Images extracted from a pdf > > > ty .. > > I have a question. > when I insert an image that is not jpeg &

Re: [iText-questions] Using Images extracted from a pdf

2010-02-23 Thread Leonard Rosenthol
uesday, February 23, 2010 2:00 PM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] Using Images extracted from a pdf > > > > >> public static BufferedImage createBufferedImageFromRawBytes(byte[] >> bytes,int width, in

Re: [iText-questions] Using Images extracted from a pdf

2010-02-23 Thread Fernando Gomes
ions@lists.sourceforge.net > Subject: Re: [iText-questions] Using Images extracted from a pdf > > > > >> public static BufferedImage createBufferedImageFromRawBytes(byte[] >> bytes,int width, int height, int bits) throws BadElementException, >>

Re: [iText-questions] Using Images extracted from a pdf

2010-02-23 Thread Leonard Rosenthol
Gomes [mailto:fernandogomes...@hotmail.com] Sent: Tuesday, February 23, 2010 2:00 PM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] Using Images extracted from a pdf > public static BufferedImage createBufferedImageFromRawBytes(byte[] > bytes,int width, int height, int b

Re: [iText-questions] Using Images extracted from a pdf

2010-02-23 Thread Fernando Gomes
jpedal? Mike Marchywka-2 wrote: > > > > > > > > > > > > >> Date: Tue, 23 Feb 2010 06:52:54 -0800 >> From: fernandogomes...@hotmail.com >> To: itext-questions@lists.sourceforge.net >> Subj

Re: [iText-questions] Using Images extracted from a pdf

2010-02-23 Thread Mike Marchywka
> Date: Tue, 23 Feb 2010 06:52:54 -0800 > From: fernandogomes...@hotmail.com > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] Using Images extracted from a pdf > > > can anyone help-me one more time

Re: [iText-questions] Using Images extracted from a pdf

2010-02-22 Thread Leonard Rosenthol
You are assuming that PDF maintains the PNG nature of the image - that is NOT the case. PDF only supports two kinds of images JPEG (which is why this works) and "raw bitmaps" (aka an array of bits). So in your case, with the PNG, it is transcoded into the latter case and so if you want it back