[iText-questions] Save as JPG/PNG

2009-09-25 Thread Harry Pfleger
Hi iText Users Is it possible to save a document, or part of it (e.g. page) as a JPG or PNG, or any other graphics format? Thankx, Harry -- Come build with us! The BlackBerry® Developer Conference in SF, CA is t

Re: [iText-questions] How to get the byte[] array of an Image from PdfReader

2009-09-25 Thread Leonard Rosenthol
I didn't say random - I said raw - meaning it's just an array of the "pixels" that make up the image. For example, consider an RGB image, then it's an array consisting of the color values as in [R G B R G B R G B .]. A CMYK image, therefore is [C M Y K C M Y K ...]. Remember there are 11 way

[iText-questions] BarcodeDatamatrix was (Re: How to get the byte[] array of an Image from PdfReader)

2009-09-25 Thread Davis Ford
Hi, let me ask this question yet a different way, since I don't seem to be having much luck. Let's say I create a PDF with the following: BarcodeDatamatrix dm = new BarcodeDatamatrix(); dm.setOptions(BarcodeDatamatrix.DM_AUTO); dm.setHeight(40); dm.setWidth(40); dm.generate("12345"); Image image

Re: [iText-questions] Multiple reports delivered to browser

2009-09-25 Thread Pete Helgren
I'll take a look at the zip and portable collections. In retrospect, opening four browser windows was what I expected (wrongly) but from the user perspective, I am not sure that would have been the best approach. The zip may be the most convenient. Again, thanks. I'll take a look at all you

Re: [iText-questions] Multiple reports delivered to browser

2009-09-25 Thread 1T3XT info
Pete Helgren wrote: > "Are you saying you're trying to push more than one PDF to the response > object?" > > Yes, and based on the phrasing of your question I can see that it > probably is the wrong way to handle it and probably why it didn't work :-) It's indeed the wrong way. > In a nutshell

Re: [iText-questions] Multiple reports delivered to browser

2009-09-25 Thread Pete Helgren
"Are you saying you're trying to push more than one PDF to the response object?" Yes, and based on the phrasing of your question I can see that it probably is the wrong way to handle it and probably why it didn't work :-) In a nutshell I had four different routines that *could* create output

Re: [iText-questions] How to get the byte[] array of an Image from PdfReader

2009-09-25 Thread Davis Ford
What is the format? How do I decode it..? Surely it isn't just random bytes -- it has to adhere to some standard/structure. Is there an API in iText to decode it? I'll go take a look at the spec. On Thu, Sep 24, 2009 at 9:44 PM, Leonard Rosenthol wrote: > AH... > > That's because it is _NOT_

Re: [iText-questions] another dpi image question

2009-09-25 Thread Paulo Soares
If the image doesn't have any dpi information your guess is as good an any. Paulo > -Original Message- > From: Mathias Nilsson [mailto:wicket.program...@gmail.com] > Sent: Friday, September 25, 2009 11:54 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] anothe

[iText-questions] another dpi image question

2009-09-25 Thread Mathias Nilsson
Hi, I have searched this forum for a solution of adding images to my pdf but I'm stuck. When using the getDpiX(),getDpiY() method it returns 0 for my image. I've read that whenever a program like photoshop can't determine dpi the default is 300. Is there another way around this? Right now I tr