Re: [iText-questions] Contribution: Enhanced Image.scaleToFit

2008-06-18 Thread Bruno Lowagie
Bruno Lowagie wrote: > Benjamin Rein wrote: >> I hope its useful for anyone with similar problems. > > Thanks, I'll have a look at your changes. If I'm interpreting the changes correctly, you have changed scaleToFit into an elaborate scaleAbsolute in case the DPI is different for X and Y (and not

Re: [iText-questions] Contribution: Enhanced Image.scaleToFit

2008-06-18 Thread Bruno Lowagie
Benjamin Rein wrote: > I hope its useful for anyone with similar problems. Thanks, I'll have a look at your changes. br, Bruno - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for j

[iText-questions] Contribution: Enhanced Image.scaleToFit

2008-06-18 Thread Benjamin Rein
Hi there, I had a problem scaling TIF images with the Image.scaleToFit method. The effect was that the image proportions were changed i.e. text was not readable, because it was compressed from the right and left side. Searching the archive I found a hint from Paulo (Subject: Converting TIF to