Re: [iText-questions] JPEG images become blurry when added to a document

2008-04-07 Thread Bruno Lowagie
Leonard Rosenthol wrote: > I'm confused... > > You talk about using PNG and PDF - and then post two JPEG files. > > How about posting the original PNG and PDFs, so that we can examine > the data in question. Otherwise, it's all guess work... I've had the same frustrating conversation with bis

Re: [iText-questions] JPEG images become blurry when added to a document

2008-04-07 Thread Leonard Rosenthol
I'm confused... You talk about using PNG and PDF - and then post two JPEG files. How about posting the original PNG and PDFs, so that we can examine the data in question. Otherwise, it's all guess work... Leonard On Apr 6, 2008, at 7:30 PM, bisoa wrote: > > > Leonard Rosenthol wrote: >> >>

Re: [iText-questions] JPEG images become blurry when added to a document

2008-04-07 Thread bisoa
Leonard Rosenthol wrote: > > do as Paulo suggests - switch to > PNG, which doesn't have this problem. > I use PNG all the time because it's the only one that provides transparency colors properly. Look at this image seen at 100%; http://www.nabble.com/file/p16531246/adobe0.jpg Compare the

Re: [iText-questions] JPEG images become blurry when added to a document

2008-04-06 Thread Bob Babcock
> Perhaps you are thinking about the Adobe PDF Printer, which is a way > to CREATE PDFs from non-PDF-savvy applications. In that case, we > provide tools that enable users to produce PDFs with the quality > levels that they desire. Your're right. I recently helped someone who had ima

Re: [iText-questions] JPEG images become blurry when added to a document

2008-04-06 Thread Leonard Rosenthol
On Apr 6, 2008, at 4:14 PM, Bob Babcock wrote: >> PDF viewers use EXACTLY what they are given (if you give high >> resolution, they will use high resolution - and vice versa) and use >> that when rendering to the zoom factor(s) as requested. > > Is a printer a viewer? Yes. > Acroba

Re: [iText-questions] JPEG images become blurry when added to a document

2008-04-06 Thread Bob Babcock
> PDF viewers use EXACTLY what they are given (if you give high > resolution, they will use high resolution - and vice versa) and use > that when rendering to the zoom factor(s) as requested. Is a printer a viewer? Acrobat standard and pro have options for downsampling images before pri

Re: [iText-questions] JPEG images become blurry when added to a document

2008-04-06 Thread Leonard Rosenthol
On Apr 5, 2008, at 4:47 PM, TxRyan wrote: > Paulo Soares wrote: >> >> Scale the image (make it smaller) before inserting it in the PDF, >> this is >> the same as increasing the dpi. >> > > Yes, I experimented with that approach. But scaling results in > some pixel > degradation and while the s

Re: [iText-questions] JPEG images become blurry when added to a document

2008-04-06 Thread Leonard Rosenthol
uot; <[EMAIL PROTECTED]> > To: > Sent: Sunday, April 06, 2008 7:06 AM > Subject: Re: [iText-questions] JPEG images become blurry when added > to a > document > > >> >> Of course, I agree that iText passes images as they were given, >> and pdf viewers use them

Re: [iText-questions] JPEG images become blurry when added to a document

2008-04-06 Thread Paulo Soares
06, 2008 7:06 AM Subject: Re: [iText-questions] JPEG images become blurry when added to a document > > Of course, I agree that iText passes images as they were given, > and pdf viewers use them as they are passed. But as the initial > poster said, there's a quality issue of render

Re: [iText-questions] JPEG images become blurry when added to a document

2008-04-06 Thread bisoa
Of course, I agree that iText passes images as they were given, and pdf viewers use them as they are passed. But as the initial poster said, there's a quality issue of rendered images in viewers! I have to say that this problem can be more easily recognizable in statistical charts and fonts draw

Re: [iText-questions] JPEG images become blurry when added to a document

2008-04-06 Thread bisoa
That's basically correct, until PDF vierwers are improved! Viewers may never see original 100% images. So they will always see blurred images. Best tactic may be that see PDF files using 100%, and find best quality image sizes for the spaces in your pdf documents. Not much we can do other than

Re: [iText-questions] JPEG images become blurry when added to a document

2008-04-06 Thread TxRyan
bisoa wrote: > > This is a PDF viewer problem, not doing proper image scaling that combines > with anti-aliasing. Images in PDF are generally poor. If you apply > higher-definition images, you would expect better quality showing. This is > not the case with PDF viewers! > Thanks for the reply.

Re: [iText-questions] JPEG images become blurry when added to a document

2008-04-06 Thread TxRyan
Paulo Soares wrote: > > Scale the image (make it smaller) before inserting it in the PDF, this is > the same as increasing the dpi. > > Paulo > Yes, I experimented with that approach. But scaling results in some pixel degradation and while the size is correct, the quality is still poor (wor

Re: [iText-questions] JPEG images become blurry when added to a document

2008-04-05 Thread Leonard Rosenthol
On Apr 5, 2008, at 3:14 AM, bisoa wrote: > This is a PDF viewer problem, not doing proper image scaling that > combines > with anti-aliasing. Images in PDF are generally poor. If you apply > higher-definition images, you would expect better quality showing. > This is > not the case with PDF vie

Re: [iText-questions] JPEG images become blurry when added to a document

2008-04-05 Thread Paulo Soares
Scale the image (make it smaller) before inserting it in the PDF, this is the same as increasing the dpi. Paulo - Original Message - From: "TxRyan" <[EMAIL PROTECTED]> To: Sent: Saturday, April 05, 2008 12:40 AM Subject: [iText-questions] JPEG images become blurry

Re: [iText-questions] JPEG images become blurry when added to a document

2008-04-05 Thread bisoa
This is a PDF viewer problem, not doing proper image scaling that combines with anti-aliasing. Images in PDF are generally poor. If you apply higher-definition images, you would expect better quality showing. This is not the case with PDF viewers! TxRyan wrote: > > Hello, > > I am generating

[iText-questions] JPEG images become blurry when added to a document

2008-04-05 Thread TxRyan
Hello, I am generating PDFs and am including JPEG images. They seem to always get "blown up" larger than they should be and therefore look blurry and unappealing. I am guessing here, but the problem seems to be that they are being scaled to match a 72dpi default of some sort. In one case, my i