Tim Juntunen wrote: > I am taking a bigImage, scaling it and adding it to my pdf document. > > I have a section of code that works fine in 1.4.5, but fails in 2.0.8 > the error thrown is "illegal argument exception"
> I may have missed an API change, but I don't see it in the javadocs... > Here is a section of the code... > img = com.lowagie.text.Image.getInstance(writer,smallImg,(float) > 50); // <<ERROR HERE The method is still there: http://1t3xt.info/api/com/lowagie/text/Image.html#getInstance(com.lowagie.text.pdf.PdfWriter,%20java.awt.Image,%20float) without the image, we can't reproduce the problem. -- This answer is provided by 1T3XT BVBA ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
