Hi Dominic, Leonard
excuse me from dropping in the thread but Dominic I believe, what Leonard says 
(...JPEG (Joint PHOTOGRAPHIC Expert > > Group) file format is NOT suitable for 
non-photo data....) is true and is the cause of your problem. 
 
First I undestand "distort" can mean different things to different people. For 
me it's geometry that'a affected by distortion, but from your post I conclude 
that by distortion" you refer to "blur" of some linear elements in the image - 
graphics and text - that get blurred and even more so the curved segments. By 
"blurring" I think you refer to the edges of these elements. (Excuse me if I am 
wrong).
 
That make sense if you consider the old JPEG algorithm (JPEG2000 wavelet 
encoding is different), and why this is not suitable for such artwork.
Then, are you using any antialias options?
 
George
 
    



> To: itext-questions@lists.sourceforge.net> From: [EMAIL PROTECTED]> Date: 
> Fri, 11 Apr 2008 08:00:24 +0000> Subject: Re: [iText-questions] Distorted 
> Image> > > > If that's the case (you didn't mention that before) - then it 
> means > > that you incorrectly set the scaling transform so that the image > 
> > isn't drawing 1:1.> > > > However, it still remains that the JPEG (Joint 
> PHOTOGRAPHIC Expert > > Group) file format is NOT suitable for non-photo 
> data.> > > > Leonard> > > > Hi Leonard,> > Thanks for the response. I listed 
> all the code above for drawing the image, how> is it not set 1:1? Even when I 
> view the pdf in acrobat pro with the points ruler> up, the image is the right 
> dimensions.> > I realize that jpeg isn't the best format to be used but most 
> of my users only> have jpegs so I allow jpg, png, gif, tiff files to be used 
> as they all can be> used with iText. I tried everything from 72 dpi to 450dpi 
> with no real change.> > I did try a png as well by the way and it was still 
> dithered. Like you said ,> all the photos I add into my pdf's look fine. It 
> seems like the PDF is reducing> quality at some other level?> > Dominic> > > 
> > > > 
> -------------------------------------------------------------------------> 
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't 
> miss this year's exciting event. There's still time to save $100. > Use 
> priority code J8TL2D2. > 
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone>
>  _______________________________________________> iText-questions mailing 
> list> iText-questions@lists.sourceforge.net> 
> https://lists.sourceforge.net/lists/listinfo/itext-questions> > Do you like 
> iText?> Buy the iText book: http://www.1t3xt.com/docs/book.php> Or leave a 
> tip: https://tipit.to/itexttipjar
_________________________________________________________________
Κατεβάστε 30 ΔΩΡΕΑΝ Emoticons για τον Windows Live Messenger σας!
http://www.livemessenger-emoticons.com/el-gr/
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar

Reply via email to